View Issue Details

IDProjectCategoryView StatusLast Update
0022018mantisbtsqlpublic2017-02-01 22:47
Reportercproensa Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.3.4 
Target Version1.3.6Fixed in Version1.3.6 
Summary0022018: Database log does not show boolean parameters correctly
Description

With mysql, a bind parameter of type bool is not showed correctly in database query log.
It's showed as:
UPDATE ... SET field1=, field2= WHERE...

TagsNo tags attached.

Relationships

related to 0022005 closedcproensa Database log for postgres/oracle not showing parameter substitution 

Activities

dregad

dregad

2017-01-06 17:43

developer   ~0054966

Fixed as part of PR https://github.com/mantisbt/mantisbt/pull/970

Related Changesets

MantisBT: master-1.3.x b75b58ef

2016-12-06 13:58

cproensa

Committer: dregad


Details Diff
Fix subtitution of boolean parameters

Use the correct literal used by the database driver.

Fixes: 0022018
Affected Issues
0022018
mod - core/database_api.php Diff File