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

SQL insert error for BIT-Field online_tracking #1

Open
mreinart opened this issue Sep 26, 2019 · 0 comments
Open

SQL insert error for BIT-Field online_tracking #1

mreinart opened this issue Sep 26, 2019 · 0 comments

Comments

@mreinart
Copy link

Greetings from the nearly flatlands. Tried it out on RPi with Dragino Lora/GPS hat and (nearly) worked right away :-)

SQL INSERT aborts on a fresh installed RPi with mariadb - complaining value provided in INSERT statement for field online_tracking in table object_tracking is too large.

Adapting field length from bit(1) to char(1) in the fanet_2.sql file would be one option to get around this. Have not tried with adapting the C code in sql_write_tracking_data yet.

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