Re: [gnome-db] MySQL hex to blob marking as unknown node

Interesting, I thought it did, by looking at the code:

I havent debugged it yet to tell for sure if it is a bug or not. But from the code, seems like it was suppose to support that.

Thoughts? If you can confirm it is a bug, I can work in a patch.


On Mon, Feb 1, 2016 at 2:15 PM Vivien Malerba <vmalerba gmail com> wrote:

Sorry for taking so long to answer...
Libgda's internal parser does not recognize that syntax, hence the result.
The parser could probably quite easily corrected, but it was never meant to be a comprehensive parser (in the way that some specific SQL constructs are not and will probably never be recognized); it was meant to be able to actually distinguish in many cases the type of SQL query.


2016-01-14 22:49 GMT+01:00 Arthur Neves <arthurnn gmail com>:
Hi everyone, 
I am using libgda to parse some queries from my application, however I am confused about a few queries been marked as unknown (top level node). 
Seems like that queries that include a x'' syntax, which is valid on mysql are marked as unknown. Follow an example code: , This is hitting the UNKNOWN branch. Not sure where the problem is. Any clue?

Thanks a lot 

gnome-db-list mailing list
gnome-db-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]