mirror of
https://github.com/aljazceru/cowrie.git
synced 2026-02-20 22:04:31 +01:00
Rewrote the mysql code to use adbapi for non-blocking operation
NOTE: schema changes are needed! (update5.sql) git-svn-id: https://kippo.googlecode.com/svn/trunk@162 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
7
doc/sql/update5.sql
Normal file
7
doc/sql/update5.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
/* For the asynchronous mysql code, change session to use a 32 character
|
||||
* string instead of int(11) */
|
||||
|
||||
ALTER TABLE `auth` CHANGE `session` `session` CHAR( 32 ) NOT NULL ;
|
||||
ALTER TABLE `input` CHANGE `session` `session` CHAR( 32 ) NOT NULL ;
|
||||
ALTER TABLE `sessions` CHANGE `id` `id` CHAR( 32 ) NOT NULL ;
|
||||
ALTER TABLE `ttylog` CHANGE `session` `session` CHAR( 32 ) NOT NULL ;
|
||||
Reference in New Issue
Block a user