Modify ↓
#7735 closed defect (fixed)
Latest change for MySQL "as rows" breaks the macro fo SQLITE
Reported by: | markm | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | WikiSearchMacro |
Severity: | normal | Keywords: | |
Cc: | mark.m.mcmahon@… | Trac Release: | 0.11 |
Description
I was getting an error saying that the DB was locked.
When I remove the 'as rows' change that was implemented in the latest change committed it worked again.
Note - I also noticed a mix of tabs and spaces in the file.
Attachments (1)
Change History (6)
Changed 14 years ago by
Attachment: | UndoAsRows_fix_tabs.patch added |
---|
comment:1 Changed 14 years ago by
Ahh - there is a better fix!!
It would seem that rows
is a restricted/reserved word for Sqlite - if you change that to as TempTable
then it still works for Sqlite - and hopefully works for MySQL also :)
Thanks
Mark
comment:2 Changed 14 years ago by
Status: | new → assigned |
---|
Thanks for the patch. It will be tested and applied this evening.
comment:3 Changed 14 years ago by
It seems to be happy with either as rows
or as temptable
in my test setup. However, I'll make the change since it seems at most harmless.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
Patch to fix for SQLITE (but maybe not work for Mysql?) and remove tabs