• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [easyMysql] error 001: expected token: "-string end-", but found "-identifier-"
#1
I don't see what the issue is.



[Image: 68edcdeeb1.png]



EDIT:

Code:
1116: handle = SQL::CreateTable(table, (isnull(column_where)) ? "InnoDB" : column_where, (isnull(column_where2)) ? "latin5" : column_where2, connectionHandle);



1780: format(SQL::upd_form, sizeof(SQL::upd_form), "%s int %s AUTO_INCREMENT,", field_name, (null == false) ? "NOT NULL" : "NULL");



1788: format(SQL::upd_form, sizeof(SQL::upd_form), "%s int %s PRIMARY KEY AUTO_INCREMENT,", field_name, (null == false) ? "NOT NULL" : "NULL");
  Reply
#2
You might be using old compiler.Wrap the strings in parentheses. Or just use community compiler.

https://github.com/pawn-lang/compiler
  Reply
#3
(2019-07-17, 12:39 PM)SyS Wrote: You might be using old compiler.Wrap the strings in parentheses. Or just use community compiler.

https://github.com/pawn-lang/compiler



This fixed the issue. I thought I had installed Zeex's fixes before. Thanks for letting me know people are actively updating the compiler.
  Reply


Forum Jump: