Sha256: de0d6712ea26b3099dda38b38df2475824932ab53c92d40be26da86d9504a944

Contents?: true

Size: 426 Bytes

Versions: 56

Compression:

Stored size: 426 Bytes

Contents

#ifndef __SQL_PARSER_H
#define __SQL_PARSER_H

class ParserCallbackHandler
{
public:
  virtual void value_callback(const char* str, long len, bool end_value)=0;
  virtual void row_end_callback()=0;
};

// Return: -1 if no error.  Otherwise, the byte position in the string where
//         a parse error occurred.
extern long parse_insert_query(const char* sql, long len, ParserCallbackHandler& ch);

#endif // __SQL_PARSER_H

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
flydata-0.8.10.2 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.10.1 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.9.11 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.10 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.9 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.8 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.7 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.6 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.5 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.4 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.3 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.2 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.1 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.8.0 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.19 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.18 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.17 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.16 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.15 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.7.14 ext/flydata/source_mysql/parser/sql_parser.h