Search

open.mp forum

RegisterLogin

Discussion

General
Chat
Tech
Life
Art
Programming
open.mp
Development Updates
Questions and Suggestions
SA-MP
General Discussions
Videos and Screenshots
Support
Pawn Scripting
Tutorials
Releases
Plugins
Libraries
Filterscripts
Gamemodes
Maps
Advertisements
Other languages
Spanish/Espa?ol
Programaci?n
Discusi?n GTA SA Multijugador
Mods
Offtopic
Juegos
Portuguese/Portugu?s
Russian/???????
Italian/Italiano
Dutch/Nederlands
German/Deutsch
Romanian/Rom?na
Ex-Yu
Polish/Polski
Og?lne
Serwery
Skryptowanie
Filmiki i zdjecia
Lithuanian/Lietuvi?kas
French/Fran?ais
Hungarian/Magyar
Hindi/Urdu
Turkish
Other
Internal
Team
Hidden
Archived

Library

 Collections Links Members Roles

[easyMysql] error 001: expected token: "-string end-", but found "-identifier-"

I don't see what the issue is.

ID
d6ouivfilegovhg7bceg
author
aerotactics's avatar

Aerotactics

@aerotactics


View profile
Copy link
  Report member
started
Jul 17, 2019
replies
2
participating
No

scroll to top

powered by storyden

Login
Discussion
Pawn Scripting
[easyMysql] error 001: expected token: "-string end-", but found "-identifier-"
aerotactics's avatar

Aerotactics

@aerotactics


View profile
Copy link
  Report member
• 6y
Pawn Scripting

[easyMysql] error 001: expected token: "-string end-", but found "-identifier-"

pawn

I don't see what the issue is.







EDIT:

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");

0 likes2 replies
  1. sys's avatar

    SyS

    @sys


    View profile
    Copy link
      Report member
    • 6y

    You might be using old compiler.Wrap the strings in parentheses. Or just use community compiler.

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

  2. aerotactics's avatar

    Aerotactics

    @aerotactics


    View profile
    Copy link
      Report member
    • 6y

    SyS said:

    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.

Please sign up or log in to reply