Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session_id broken? #14

Open
neozeed opened this issue Dec 6, 2022 · 1 comment
Open

session_id broken? #14

neozeed opened this issue Dec 6, 2022 · 1 comment

Comments

@neozeed
Copy link

neozeed commented Dec 6, 2022

SO I setup a fun test server, and it bombed out with this:

REPLACE INTO sessions (account_id, session_id, ip, expires) VALUES (1, 'b9d621584366c80978056fabdeaba2cd6e4994bc6d94ee63d30ce3f0ed5936a9', '172.31.192.1' , ADDTIME(NOW(), '00:15'));

Looking at the table definition session_id its set to an int, but the data is a string... Is it a bug?

@neozeed
Copy link
Author

neozeed commented Dec 6, 2022

I also noticed a bunch of tables have various TIMESTAMP NOT NULL, fields, but the program doesn't insert the time, rather I'm guessing it's expecting a "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP" Or maybe Im loading the wrong sql?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant