Fork me on GitHub
Subscribe 2

Ticket #559 (fixed bug)

The add_field doesn't work properly for SQLite

  • Created: 2011-12-09 21:05:10
  • Reported by: daris
  • Assigned to: daris
  • Milestone: 1.4.8
  • Component: database
  • Priority: normal

File: C:\EWemp\nginx-0.8.52\html\fluxbb-1.4-conv\converter\include\dblayer\sqlite.php
Line: 555

FluxBB reported: Unable to drop table

Database reported: Unknown

Failed query: SELECT 1 FROM sqlite_master WHERE name = 'flux_flux_users' AND type='table'

The above error doesn't show as there is no error reporting for the add_field method in the SQLite (I added a few $this->error() calls to the add_field method to see what fails). Normally, it just doesn't create the new field without showing any error.

As you see in the error above, the $prefix is added twice

History

daris 2011-12-09 21:22:10

Commit 3df6719 to fluxbb fluxbb-1.4

#559 Do not add prefix second time in drop_table function for SQLite

daris 2011-12-09 21:24:19

  • Status changed from open to fixed.