diff options
author | Rouslan Placella <rouslan@placella.com> | 2011-06-17 16:57:15 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2011-06-17 16:57:15 +0400 |
commit | a63b2188be23ed2077a7a61d3d7a4cdecb083e24 (patch) | |
tree | d7bd227ef80bf2f0551e7c4f69376c01f56a3195 /db_routines.php | |
parent | 8410e8e520fd660a0106e0e5f40cd1af8ca74664 (diff) |
When issuing warning about routine execution check for presence of mysql, not the absence of mysqli extentions.
Diffstat (limited to 'db_routines.php')
-rw-r--r-- | db_routines.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_routines.php b/db_routines.php index 6803534ae8..e3b532f0f6 100644 --- a/db_routines.php +++ b/db_routines.php @@ -399,7 +399,7 @@ echo PMA_RTN_getAddRoutineLink(); /** * Display a warning for users with PHP's old "mysql" extension. */ -if ($GLOBALS['cfg']['Server']['extension'] !== 'mysqli') { +if ($GLOBALS['cfg']['Server']['extension'] === 'mysql') { trigger_error(__('You are using PHP\'s deprecated \'mysql\' extension, ' . 'which is not capable of handling multi queries. ' . '<b>The execution of some stored routines may fail!</b> ' |