~ubuntu-branches/ubuntu/trusty/mysql-workbench/trusty

« back to all changes in this revision

Viewing changes to backend/wbpublic/grtsqlparser/sql_facade.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-06-05 09:13:55 UTC
  • mfrom: (5.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20130605091355-lz0oqppmlovk587y
Tags: 5.2.47+dfsg-1
* Upload to unstable.
* New patch to get libpython flags using `python-config`
  (Closes: #710627).
* Build-Depends:
  - python-all-dev
  + python-dev (provides `python-config`)
  - libboost-dev
  + libboost1.53-dev | libboost-dev (needed to avoid FTBFS since
    libmysqlcppconn depends on boost1.53 which conflicts with older
    boost that is pulled by libboost-dev).
* rules: added "-v" to `mv` command (more build-time verbosity).
* rules: get-orig-source improvements.
* Dropped unused lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 
2
 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU General Public License as
54
54
  static SqlFacade::Ref instance_for_rdbms_name(grt::GRT *grt, const std::string &name);
55
55
 
56
56
  virtual int splitSqlScript(const std::string &sql, std::list<std::string> &statements)= 0;
 
57
  virtual int splitSqlScript(const char *sql, size_t length, const std::string &intial_delimiter,
 
58
    std::vector<std::pair<size_t, size_t> > &borders)= 0;
57
59
 
58
60
  virtual Sql_parser::Ref sqlParser()= 0;
59
61
  virtual int parseSqlScriptString(grt::Ref<db_Catalog> catalog, const std::string sql)= 0;
90
92
  virtual Sql_statement_decomposer::Ref sqlStatementDecomposer()= 0;
91
93
 
92
94
  virtual bool parseSelectStatementForEdit(const std::string &sql, std::string &schema_name, std::string &table_name, Column_name_list &column_names)= 0;
 
95
  
 
96
  virtual void stop_processing() = 0;
93
97
};
94
98
 
95
99