]> git.joonet.de Git - adminer.git/commitdiff
Support NULL in routine calls (bug #3541326)
authorJakub Vrana <jakub@vrana.cz>
Wed, 12 Dec 2012 18:58:13 +0000 (10:58 -0800)
committerJakub Vrana <jakub@vrana.cz>
Wed, 12 Dec 2012 18:58:13 +0000 (10:58 -0800)
adminer/drivers/mysql.inc.php

index fc834094cdaf9eeea447785f7f653c13d78b8bf3..066fef705580af2cdda015b7234496f79273e449 100644 (file)
@@ -768,6 +768,7 @@ if (!defined("DRIVER")) {
                                "type" => strtolower($param[5]),
                                "length" => preg_replace_callback("~$enum_length~s", 'normalize_enum', $param[6]),
                                "unsigned" => strtolower(preg_replace('~\\s+~', ' ', trim("$param[8] $param[7]"))),
+                               "null" => 1,
                                "full_type" => $param[4],
                                "inout" => strtoupper($param[1]),
                                "collation" => strtolower($param[9]),