mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
In pdo_sqlite, getColumnMeta should return the table name. With bundled SQLite library, -DSQLITE_ENABLE_COLUMN_METADATA=1 (other_flags) enable the feature in SQLite (function sqlite3_column_table_name). With system SQLite library, this fix detects if sqlite3_column_table_name is available and add SQLITE_ENABLE_COLUMN_METADATA macro to get the same behavior. Test already exists: ext/pdo_sqlite/tests/bug_42589.phpt