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.6.8 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.6.7 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.6.6 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.6.5 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.6.4 ext/flydata/source_mysql/parser/sql_parser.h
flydata-0.6.3 ext/flydata/parser/mysql/sql_parser.h
flydata-0.6.2 ext/flydata/parser/mysql/sql_parser.h
flydata-0.6.1 ext/flydata/parser/mysql/sql_parser.h
flydata-0.6.0 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.21 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.20 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.17 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.16 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.15 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.14 ext/flydata/parser/mysql/sql_parser.h
flydata-0.5.13 ext/flydata/parser/mysql/sql_parser.h