Bug #332
SQLite version
| Status: | Closed | Start: | 07/15/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Tom Moore | % Done: | 100% |
|
| Category: | SQLite | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Browser: | |||
| Reported In MyBB Version: | 1.4.8 | Database Type: | ||
| PHP Version: | Database Version: |
Description
When using SQLite v3 (tried on 3.3.7), $db->get_version returns "SQLite 4".
Associated revisions
Fixes Board Statistics inconsistency (fixes:335)
Fixes Missing label tag (fixes:334)
Fixes SQLite version (fixes:332)
History
Updated by Tom Moore 8 months 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 8 months ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r4403.
Updated by Ryan Gordon 6 months ago
- Target version changed from 1.4.9 to 1.4.10
- Reported In MyBB Version set to 1.4.8