when saving an edit with a field of more than 1000 characters, constant PMA_QUERY_TOO_BIG is already defined

This commit is contained in:
Marc Delisle
2007-06-24 10:14:08 +00:00
parent 6b8d74cb88
commit 083d7980e2

View File

@@ -1405,7 +1405,7 @@ if (typeof(window.parent) != 'undefined'
}
$max_characters = 1000;
if (strlen($query_base) > $max_characters) {
if (! defined('PMA_QUERY_TOO_BIG') && strlen($query_base) > $max_characters) {
define('PMA_QUERY_TOO_BIG',1);
}