Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] [easyMysql] error 001: expected token: "-string end-", but found "-identifier-"

 
  • 0 Vote(s) - 0 Average
Pawn [easyMysql] error 001: expected token: "-string end-", but found "-identifier-"
Aerotactics
Offline

Burgershot Member
Posts: 13
Threads: 7
Joined: Jul 2019
Reputation: 0
Location: San Francisco, CA
#1
2019-07-17, 06:20 AM
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");
SyS
Offline

Burgershot Member
Posts: 33
Threads: 5
Joined: Apr 2019
Reputation: 4
#2
2019-07-17, 12:39 PM
You might be using old compiler.Wrap the strings in parentheses. Or just use community compiler.
https://github.com/pawn-lang/compiler
Aerotactics
Offline

Burgershot Member
Posts: 13
Threads: 7
Joined: Jul 2019
Reputation: 0
Location: San Francisco, CA
#3
2019-07-17, 05:26 PM
(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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode