bug [structure] Missing validation for BINARY and VARBINARY

This commit is contained in:
Marc Delisle
2009-09-04 16:39:03 +00:00
parent bdfa1c8d1a
commit 54b463ad6f
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2826986 [display] Order by BLOB and range display
- bug [display] After clicking on Show Function or Function, the UPDATE query
is not shown after execution
- bug [structure] Missing validation for BINARY and VARBINARY
3.2.1.0 (2009-08-09)
- bug #2799009 Login with ipv6 IP address breaks redirect

View File

@@ -390,7 +390,7 @@ function checkTableEditForm(theForm, fieldsCnt)
{
id = "field_" + i + "_2";
elm = getElement(id);
if (elm.value == 'VARCHAR' || elm.value == 'CHAR' || elm.value == 'BIT') {
if (elm.value == 'VARCHAR' || elm.value == 'CHAR' || elm.value == 'BIT' || elm.value == 'VARBINARY' || elm.value == 'BINARY') {
elm2 = getElement("field_" + i + "_3");
val = parseInt(elm2.value);
elm3 = getElement("field_" + i + "_1");