You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'd run the script, I got the following PHP Notice three times:
PHP Notice: Undefined variable: res in /…/zdmg-0.6/class/Make.mysql.php on
line 45
Original issue reported on code.google.com by [email protected] on 14 Sep 2011 at 4:03
The text was updated successfully, but these errors were encountered:
the function that this notice occurs in converts a mysql variable type to a php
variable type.
tinyint(1) and bit are converted to boolean.
datetime,timestamp,blob and char are converted to string.
decimal and numeric are converted to float.
tiny,small,medium,long,big,var + (word) is converted appropriately as well.
can you let me know which variable type it tries to convert? or can you provide
a demo script that I can test ?
any information to pinpoint the issue would be greatly appreciated.
thanks!
I ran the script to all of my tables one by one and it turned out that the
'ENUM' type caused the notices. As many ENUMs were in the tables that many
notices I received.
Maybe you might test the script to SETs, too.
Original issue reported on code.google.com by
[email protected]
on 14 Sep 2011 at 4:03The text was updated successfully, but these errors were encountered: