From 54b463ad6f7fd276c08f4f3aa369cf0a0640baf9 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 4 Sep 2009 16:39:03 +0000 Subject: [PATCH] bug [structure] Missing validation for BINARY and VARBINARY --- ChangeLog | 1 + js/functions.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c94ec8f78..80f65043d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/js/functions.js b/js/functions.js index bf1b5913c..4af08c834 100644 --- a/js/functions.js +++ b/js/functions.js @@ -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");