Bug #332

SQLite version

Added by Tom Moore over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:07/15/2009
Priority:Normal Due date:
Assignee:Tom Moore % Done:

100%

Category:SQLite
Target version:1.4.10
Reproducibility: Database Type:
Reported In MyBB Version:1.4.8 Database Version:
PHP Version: SQA assignments:
Browser:

Description

When using SQLite v3 (tried on 3.3.7), $db->get_version returns "SQLite 4".

Associated revisions

Revision 4403
Added by Tom Moore over 2 years ago

Fixes Board Statistics inconsistency (fixes:335)
Fixes Missing label tag (fixes:334)
Fixes SQLite version (fixes:332)

History

Updated by Tom Moore over 2 years ago

In ./inc/db_pdo.php, find:

$attribute = constant("PDO::{$attribute}");

and replace it with

$attribute = $this->db->getAttribute(constant("PDO::".$attribute.""));

Updated by Tom Moore over 2 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r4403.

Updated by Stefan T. over 2 years ago

  • Status changed from Resolved to Closed

Updated by Ryan Gordon over 2 years ago

  • Target version changed from 1.4.9 to 1.4.10
  • Reported In MyBB Version set to 1.4.8

Also available in: Atom PDF