arch/mysql.c: fixed the test and a overflow in init(). mysql needs alot more love.
This commit is contained in:
parent
bc7492cb1d
commit
8cafb25c42
3 changed files with 63 additions and 74 deletions
|
|
@ -39,7 +39,7 @@ indexer :
|
|||
$(CC) $(CFLAGS) -D__DEBUG__ ../src/common/path.c ../src/fs/tree.c ../src/indexer.c t_indexer.c -o test_indexer
|
||||
|
||||
mysql :
|
||||
$(CC) -D DB_DEBUG $(CFLAGS) ../src/mysql_db.c -L/usr/lib64/mysql \
|
||||
$(CC) -D DB_DEBUG $(CFLAGS) ../src/arch/mysql.c -L/usr/lib64/mysql \
|
||||
-lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto t_mysql.c -o test_mysql
|
||||
|
||||
queue :
|
||||
|
|
|
|||
Reference in a new issue