The branch, master has been updated
via f989d6f0cf61c861af0a37af12e3a24af7cdf4ee (commit)
from 9ca378d79454c5a021bfdd9f231c399cfe8355fc (commit)
- Log -----------------------------------------------------------------
commit f989d6f0cf61c861af0a37af12e3a24af7cdf4ee
Author: Rouslan Placella <[email protected]>
Date: Thu Jul 14 13:06:31 2011 +0100
Fixed handling of length/values for the return variable of functions
-----------------------------------------------------------------------
Summary of changes:
libraries/rte/rte_routines.lib.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/rte/rte_routines.lib.php
b/libraries/rte/rte_routines.lib.php
index 4172208..9a9c8f2 100644
--- a/libraries/rte/rte_routines.lib.php
+++ b/libraries/rte/rte_routines.lib.php
@@ -1129,7 +1129,7 @@ function PMA_RTN_getQueryFromRequest()
&&
!preg_match('@^(DATE|DATETIME|TIME|TINYBLOB|TINYTEXT|BLOB|TEXT|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|SERIAL|BOOLEAN)$@i',
$_REQUEST['item_returntype'])
) {
- $query .= "(" . intval($_REQUEST['item_returnlength']) . ")";
+ $query .= "(" . $_REQUEST['item_returnlength'] . ")";
} else if (empty($_REQUEST['item_returnlength']) &&
preg_match('@^(ENUM|SET|VARCHAR|VARBINARY)$@i', $_REQUEST['item_returntype'])) {
if (! $warned_about_length) {
$warned_about_length = true;
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git