File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
graalpython/com.oracle.graal.python.cext/modules/_sqlite/sqlite Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -174096,7 +174096,10 @@ SQLITE_API const char sqlite3_version[] = SQLITE_VERSION;
174096
174096
/* IMPLEMENTATION-OF: R-53536-42575 The sqlite3_libversion() function returns
174097
174097
** a pointer to the to the sqlite3_version[] string constant.
174098
174098
*/
174099
- SQLITE_API const char *sqlite3_libversion(void){ return sqlite3_version; }
174099
+ /*
174100
+ * GraalPy change: use SQLITE_VERSION instead of sqlite3_version
174101
+ */
174102
+ SQLITE_API const char *sqlite3_libversion(void){ return SQLITE_VERSION; }
174100
174103
174101
174104
/* IMPLEMENTATION-OF: R-25063-23286 The sqlite3_sourceid() function returns a
174102
174105
** pointer to a string constant whose value is the same as the
Original file line number Diff line number Diff line change @@ -182,7 +182,10 @@ extern "C" {
182
182
**
183
183
** See also: [sqlite_version()] and [sqlite_source_id()].
184
184
*/
185
- SQLITE_API SQLITE_EXTERN const char sqlite3_version[];
185
+ /*
186
+ * GraalPy change: avoid unresolved symbol "sqlite3_version"
187
+ */
188
+ // SQLITE_API SQLITE_EXTERN const char sqlite3_version[];
186
189
SQLITE_API const char *sqlite3_libversion(void);
187
190
SQLITE_API const char *sqlite3_sourceid(void);
188
191
SQLITE_API int sqlite3_libversion_number(void);
You can’t perform that action at this time.
0 commit comments