diff options
author | Davey Shafik <me@daveyshafik.com> | 2015-12-07 01:12:40 -0500 |
---|---|---|
committer | Davey Shafik <me@daveyshafik.com> | 2015-12-07 01:12:40 -0500 |
commit | 821f122e59019dee8e141d8a40cce6b4150dfe6b (patch) | |
tree | b1409951232f6361932c080c7672bf7282f915c4 /lib/mysql.php | |
parent | 0a6610cdb671a4579f90388d6489db72c7b57d9c (diff) | |
download | php7-mysql-shim-821f122e59019dee8e141d8a40cce6b4150dfe6b.zip php7-mysql-shim-821f122e59019dee8e141d8a40cce6b4150dfe6b.tar.gz php7-mysql-shim-821f122e59019dee8e141d8a40cce6b4150dfe6b.tar.bz2 |
Handle weirdness with `mysql_table_name()`, especially on HHVM
Diffstat (limited to 'lib/mysql.php')
-rw-r--r-- | lib/mysql.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mysql.php b/lib/mysql.php index 03ebdce..1860fdc 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -505,7 +505,7 @@ namespace { return mysql_result($result, $row, 'Database'); } - function mysql_table_name($result, $row) + function mysql_tablename($result, $row) { if (\Dshafik\MySQL::checkValidResult($result, __FUNCTION__)) { // @codeCoverageIgnoreStart @@ -584,9 +584,9 @@ namespace { return mysql_db_name(... $args); } - function mysql_tablename(... $args) + function mysql_table_name(... $args) { - return mysql_table_name(... $args); + return mysql_tablename(... $args); } } } |