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
Bug 4069 - query returns Result even when query result is FALSE (#4176)
* Initial commit fixing wrong return value in Database/BaseConnection::query. When underlying resultID if false, this should return false. Added BadQueryTest to tests.
* changes to make query() function return boolean for write-type queries. centralize isWriteType functionality in one place. Change tests impacted by this change
* improved BadQueryTest, simplified return value in BaseUtils::optimizeTable
* tiny change made by record...remove of one line in ConnectionInterface
* Removed static sqlIsWriteType method from Query class and instead to mimic CI3 added isWriteType declaration to ConnectionInterface, defined isWriteType fn in BaseConnection, added specific isWriteType to Postgres, modified various unit tests, and added WriteTypeQueryTest.
* Added RENAME back into BaseConnectin::isWriteType check and moved EXEC sp_rename into SQLSRV\Connection, tweaked WriteTypeQueryTest
* Tweaked BadQueryTest and DBUtilsTest to alter/restore DBDebug value for certain tests. Added changelog and upgrade notes.
* Update upgrade_412.rst
remove incorrect markdown
0 commit comments