View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014341CDash(No Category)public2013-08-06 06:072013-08-06 06:14
ReporterIgor 
Assigned ToJulien Jomier 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.2 
Summary0014341: [PATCH] BUG: Fix "user" table/function confusion
DescriptionIn SQL `user` is a special function that returns name of the current
DB user (and it's called without parentheses). So if one want to
perform query using table "user", he must quote it to avoid confusion.

This patch fixes following error:

 ERROR: syntax error at or near "user" at character 8
 STATEMENT: UPDATE user SET cookiekey='zJvOEcR9XDDkECqHzYsckQenSIMILcvaM' WHERE id=1
TagsNo tags attached.
Attached Filespatch file icon 0001-BUG-Fix-user-table-function-confusion.patch [^] (2,156 bytes) 2013-08-06 06:07 [Show Content]

 Relationships

  Notes
There are no notes attached to this issue.

 Issue History
Date Modified Username Field Change
2013-08-06 06:07 Igor New Issue
2013-08-06 06:07 Igor File Added: 0001-BUG-Fix-user-table-function-confusion.patch
2013-08-06 06:12 Julien Jomier Assigned To => Julien Jomier
2013-08-06 06:12 Julien Jomier Status new => assigned
2013-08-06 06:14 Julien Jomier Status assigned => resolved
2013-08-06 06:14 Julien Jomier Fixed in Version => 2.2
2013-08-06 06:14 Julien Jomier Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team