Welcome Guest, Not a member yet? Register   Sign In
DBDebug unexpected behavior
#1

Sorry, me once again.

In a model, I am trying to run bad sql commands to study the MySQLi behavior.

As the documentation says, if 'DBDebug' is false, then the execution should not be stopped
in case of MySQL errors, right?

In my case, I have the line


PHP Code:
'DBDebug'  => (ENVIRONMENT !== 'production'

and the print of the 'ENVIRONMENT' variable is 'production'.

With this setup, the execution is stopped after a dummy query to insert something
in a table that doesn't exists into the database.
When a run a correct query, everything works as expected.

Should I forgot something? As the dot in front of the 'env'... x)

Thank you!

glihm
Reply


Messages In This Thread
DBDebug unexpected behavior - by glihm - 02-15-2020, 02:25 AM
RE: DBDebug unexpected behavior - by jreklund - 02-15-2020, 03:02 AM
RE: DBDebug unexpected behavior - by glihm - 02-15-2020, 09:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB