Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix Bug #63149, check sqlite3_column_table_name availability with system... #203

Closed
wants to merge 1 commit into from

2 participants

@dsp
Owner

What about the

-DSQLITE_ENABLE_COLUMN_METADATA=1 definition in other_flags?

other_flags is for bundled sqlite library.
This patch is to detect if the system library (when used) have this option.

@remicollet

Applied

@remicollet remicollet closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  ext/sqlite3/config0.m4
View
3  ext/sqlite3/config0.m4
@@ -50,6 +50,9 @@ if test $PHP_SQLITE3 != "no"; then
PHP_CHECK_LIBRARY(sqlite3,sqlite3_key,[
AC_DEFINE(HAVE_SQLITE3_KEY, 1, [have commercial sqlite3 with crypto support])
])
+ PHP_CHECK_LIBRARY(sqlite3,sqlite3_column_table_name,[
+ AC_DEFINE(SQLITE_ENABLE_COLUMN_METADATA, 1, [have sqlite3 with column metadata enabled])
+ ])
PHP_CHECK_LIBRARY(sqlite3,sqlite3_load_extension,
[],
Something went wrong with that request. Please try again.