MXS-2732 Rename sqlite-src-3110100 to sqlite-src-3110100.old
Originally, the sqlite installation was imported into the MaxScale repository in the one gigantic MaxScale 1.4 -> 2.0 commit. Consequently, there is no import commit to compare to if you want to extract all MaxScale specific changes. To make it simpler in the future, sqlite will now be imported in a commit of its own.
This commit is contained in:
@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Run this script in a directory that contains a valid SQLite makefile in
|
||||
# order to verify that unintentionally exported symbols.
|
||||
#
|
||||
make sqlite3.c
|
||||
|
||||
echo '****** Exported symbols from a build including RTREE && FTS4 ******'
|
||||
gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \
|
||||
-DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
|
||||
-DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
|
||||
sqlite3.c
|
||||
nm sqlite3.o | grep " [TD] "
|
||||
|
||||
echo '****** Surplus symbols from a build including RTREE & FTS4 ******'
|
||||
nm sqlite3.o | grep " [TD] " | grep -v " .*sqlite3_"
|
||||
|
||||
echo '****** Dependencies of the core. No extensions. No OS interface *******'
|
||||
gcc -c -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
|
||||
-DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
|
||||
-DSQLITE_OS_OTHER -DSQLITE_THREADSAFE=0 \
|
||||
sqlite3.c
|
||||
nm sqlite3.o | grep " U "
|
||||
|
||||
echo '****** Dependencies including RTREE & FTS4 *******'
|
||||
gcc -c -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE \
|
||||
-DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_STAT3 \
|
||||
-DSQLITE_ENABLE_MEMSYS5 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_ATOMIC_WRITE \
|
||||
sqlite3.c
|
||||
nm sqlite3.o | grep " U "
|
||||
Reference in New Issue
Block a user