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:
@@ -1405,7 +1405,7 @@ if (typeof(window.parent) != 'undefined'
|
|||||||
}
|
}
|
||||||
|
|
||||||
$max_characters = 1000;
|
$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);
|
define('PMA_QUERY_TOO_BIG',1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user