An error occurred fetching the project authors.
  1. 27 Feb, 2013 1 commit
  2. 20 Feb, 2013 2 commits
    • Olivier Bertrand's avatar
      - Update the MYSQL table handling to use only client API functions. · 26bf803c
      Olivier Bertrand authored
        It is no more necessary to be liked to libmysql.lib nor mysqlclient.lib.
      
      modified:
        storage/connect/libdoc.cpp
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
      26bf803c
    • Olivier Bertrand's avatar
      - Fix crash on making an XML table with encoding=XXX · c448839c
      Olivier Bertrand authored
      - Set parameters so libxml2 does not anymore add extra characters
        when retrieving several subnodes of a node.
      - Make a CONNECT file header (was PlugDB)
      
      modified:
        storage/connect/domdoc.cpp
        storage/connect/libdoc.cpp
        storage/connect/tabxml.cpp
      
      - Change the version number
      
      modified:
        storage/connect/ha_connect.cc
      
      - Begin eliminate use of libmysql functions in MYSQL table type
        Not finished yet
      
      modified:
        storage/connect/myconn.cpp
        storage/connect/myconn.h
      c448839c
  3. 11 Feb, 2013 1 commit
    • Alexander Barkov's avatar
      Fixing compilation problems on Unix: · ebf2da00
      Alexander Barkov authored
      1. Conflicting declarations:
      
      In file included from /usr/include/sql.h:19:0,
           from <path>/storage/connect/odbconn.h:15,
           from <path>/storage/connect/ha_connect.cc:117:
      /usr/include/sqltypes.h:98:23: error: conflicting declaration
        ‘typedef unsigned int DWORD’
      
      os.h and unixODBC's sqltypes.h (included from sql.h) have conflicting
      declarations, because unixODBC for some reasons incorrectly defines
      DWORD as "unsigned int", while we define DWORD as "unsigned long"
      (which is the Microsoft way).
      
      We should never include os.h and odbconn.h from the same file.
      Inside tabodbc.cpp DWORD must be seen as sql.h defines it.
      In all other files DWORD must be seen as os.h defines it.
      
      Fix:
      Moving ODBC catalog function prototypes into a separate file odbccat.h.
      Fixing ha_connect.cc to include odbccat.h instead of odbcon.h
      
      2. Use of ambiguous overloaded function in myconn.cpp:
      There's no a method SetValue(const char *fmt, int i);
      There's only a method SetValue(char *fmt, int i);
      
      Fixing the call accordingly:
      
      -    crp->Kdata->SetValue((fmt) ? fmt : "", i);
      +    crp->Kdata->SetValue((fmt) ? fmt : (char*) "", i);
      
      Note, this is a quick hack. The correct fix would be to change
      the method prototype to have the "fmt" argument as "const char *".
      However, it is tightly related to about 300 other places where
      "char*" is used instead of "const char *". We'll need to fix
      all of them gradually (in separate changes).
      
      
      added:
        storage/connect/odbccat.h
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabodbc.cpp
      ebf2da00
  4. 10 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      Bug fixed: Column charset were not handled on read. · f6ca3b05
      Olivier Bertrand authored
      Modified: ha_connect.cc (MakeRecord)
      
      Moved PlgAllocResult to plgdbutl.cpp
      Modified:
      mycat.cpp
      plgdbutl.cpp
      
      Continuing implementing the "catalog" tables (ex "info").
      Already existing were the ODBC data source table and the
      WMI column info table.
      
      The common way to handle them was modified to enable each
      table types to send personalized data.
      
      Now takes care of all existing catalog functions for table
      types that can retrieve and use such information.
      
      Modified:
      ha_connect.cc
      odbconn.cpp
      tabodbc.h
      tabodbc.cpp
      tabfmt.h
      tabfmt.cpp
      tabmysql.h
      tabmysql.cpp
      tabwmi.h
      tabwmi.cpp
      myconn.h
      myconn.cpp
      filamdbf.cpp
      plgdbsem.h
      reldef.h
      reldef.cpp
      tabdos.h
      tabdos.cpp
      tabfix.h
      xtable.h
      table.cpp
      
      f6ca3b05
  5. 09 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      Put almost all function prototypes in header files that are · 82e746ea
      Olivier Bertrand authored
      included by the program using them.
      
      Continuing implementing the "catalog" tables (ex "info").
      Already existing were the ODBC data source table and the
      WMI column info table.
      
      A common way to handle them will permit to develop many
      other such tables. Implemented:
      
      The ODBC column catalog table.
      The ODBC tables catalog table.
      The ODBC drivers catalog table.
      
      The INFO table option is replaced by the CATFUNC string option
      whode first letter specifies the information to retrieve:
      C: Columns (of a table)
      T: Tables  (of a database)
      S: Data sources
      D: Drivers
      
      Modified:
      ha_connect.cc
      odbconn.cpp
      odbconn.h
      tabodbc.h
      tabodbc.cpp
      rcmsg.c
      tabfmt.h
      tabmysql.cpp
      tabwmi.cpp
      tabwmi.h
      resource.h
      myconn.h
      filamdbf.h
      connect.cc
      connect.h
      
      Added:
      myutil.h
      82e746ea
  6. 07 Feb, 2013 2 commits
  7. 18 Jan, 2013 1 commit