FernandoDoming / r2diaphora

Port of the binary diffing library, diaphora, for radare2 and mariadb
GNU Affero General Public License v3.0
49 stars 1 forks source link

Invalid MySQL sintax #1

Closed Phat3 closed 3 years ago

Phat3 commented 3 years ago

Hi,

I was trying to use this tool but during the schema creation it crashes because of several SQL syntax errors. The Readme says that one of the requirements is MySQL server but some SQL statements are not supported by it (specifically the syntax CREATE INDEX IF NOT EXISTS ... is not supported). Swapping MySQL with MariaDB fixes all the problems though.

Is the Readme wrong?

FernandoDoming commented 3 years ago

Yes, you are indeed right, I have been using MariaDB for development and assumed the syntax would be the same. I will update the readme to reflect that.

Thanks for reporting.

Phat3 commented 3 years ago

No problem 👍