Closed xqwtxon closed 1 year ago
A variable is treated as unused if you do not use it in the first statement of -- #&
.
Check full statements provided in the attachements.
cannot be reproduced with the latest master by taking your SQL code above and prepending -- #!sqlite
in front. Can you upload your file directly?
cannot be reproduced with the latest master by taking your SQL code above and prepending
-- #!sqlite
in front. Can you upload your file directly?
the full statement file sqlite.sql
is uploaded on above.
Im using sqlite based to my config.
cannot be reproduced with the latest master by taking your SQL code above and prepending
-- #!sqlite
in front. Can you upload your file directly?the full statement file
sqlite.sql
is uploaded on above.Im using sqlite based to my config.
You do not have -- #!sqlite
at the heading. Your file is not even correct.
please upload the exact file you had a problem with ,not copy paste. I suspect you have some invisible characters there.
@xqwtxon I said, do not copy-paste the file, including pastebin. Upload your file directly by dragging the file into this webpage, or by clicking the upload bar below the comment box.
@xqwtxon I said, do not copy-paste the file, including pastebin. Upload your file directly by dragging the file into this webpage, or by clicking the upload bar below the comment box.
@xqwtxon Put it in a ZIP file
@xqwtxon Put it in a ZIP file
Your error is on these lines
-- #{ setWins
-- # :player_name string
-- # :kills int
INSERT OR IGNORE INTO Practice (player_name, wins) VALUES (:player_name, 0);
-- #&
UPDATE Practice SET wins = :wins WHERE player_name = :player_name;
-- #}
you wrote :wins
instead of :kills
however I agree that the error message needs improvement to reflect which statement is wrong.
Stack Error Message
Table
Code
Screenshots or Links
sqlite.sql
StatementDiscord Support Images
People who are helping me to indentify and fix the bug:![Screenshot_2022_0912_221124](https://user-images.githubusercontent.com/100104970/189675972-dab657d5-b376-41c2-9c8e-41ce72a97785.jpg)