Skip to content
Snippets Groups Projects
  1. Jun 29, 2006
  2. Jun 25, 2006
    • Rene Brun's avatar
      From Sergey Linev: · df45bc1d
      Rene Brun authored
      1. Support for MySQL version 3.2.x and 4.0 enabled again. For that old MySQL versions TSQLStatement is not supported.
      2. Small fix in TSQLFile. With old MySQL versions it does not try to use TSQLStatement class.
      3. Enabling/disabling error output for TSQLStatement class.
      4. Fix in error handling in TMySQLServer::Statement() method. Previousely error code was not correctly stored.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15538 27541ba8-7e3a-0410-8455-c3a389f83636
      df45bc1d
  3. Jun 02, 2006
    • Rene Brun's avatar
      From Sergey Linev: · 77c8ce3a
      Rene Brun authored
      1. New methods of TSQLServer class (also for Oracle, MySQL, ODBC):
           Exec() - execute query which does not produce any result
           GetTablesList() - return list of tables names in data-base independent form
           IsTableExists() - check if table of given name exists
           GetTableInfo() - returns instance of TSQLTableInfo with list of columns.
      2. New methods of TSQLStatement class (also for Oracle, MySQL, ODBC):
           IsNull() - checks, if field value is NULL
           SetNull() - sets parameter value to NULL
      
      
      New TSQLTableInfo contains information about table and table columns.
      For MySQL additional information like engine type, creation and last update time is provided
      
      
      New TSQLColumnInfo class contains information about single column from SQL table
      Has following methods:
         GetTypeName() - field type name in string form as it is reported by correspondent
                database method. Some databases providing full type name like "numeric(20)",
                other showing only "NUMERIC". As a result, one cannot use this string directly
                to create new field of similar types in other table
         IsNullable() - says if field value can be NULL or not
         GetSQLType() - returns kind of sql type. Possible values:
            TSQLServer::kSQL_NONE        data type unknown
            TSQLServer::kSQL_CHAR        CHAR(n) - string with fixed length n
            TSQLServer::kSQL_VARCHAR     VARCHAR(n) - string with variable length upto n
            TSQLServer::kSQL_INTEGER     INTEGER, INT, TINYINT - any integer types
            TSQLServer::kSQL_FLOAT       FLOAT - float value
            TSQLServer::kSQL_DOUBLE      DOUBLE - double precision value
            TSQLServer::kSQL_NUMERIC     NUMERIC(n,s), NUMBER(n,s) - numeric values with length and precion
            TSQLServer::kSQL_BINARY      BLOB, VARBINARY  - binary data (vriable or fixed size)
            TSQLServer::kSQL_TIMESTAMP   TIMESTAMP - time and date stamp
         GetSize() - size of field in database. -1 if not known.
         GetLength() - length argument in type declaration like CHAR(len) or NUMERIC(len), -1 if not defined
         GetScale() - second argument in declarations like NUMERIC(len, s), -1 if not defined
         GetSigned() - is type signed(==1) or unsigned(==0), -1 if not defined
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15305 27541ba8-7e3a-0410-8455-c3a389f83636
      77c8ce3a
  4. May 22, 2006
    • Rene Brun's avatar
      From Sergei Linev: · 2e9223ad
      Rene Brun authored
      1. Error handling is introduced. Now TSQLServer/TSQLStatement returns error code - GetErrorCode()
         and message - GetErrorMsg() of last operation.
         If desired, error output can be suppressed for TSQLServer. Correspondent changes done in implementation
         for Oracle, MySQL, ODBC
      2. New methods of TSQLServer class for transactions control: StartTransaction() / Commit() / Rollback().
         As desfault implmenetaion in TSQLServer class they corresopnd to SQL "START TRANSACTION", "COMMIT", "ROLLBACK" queries.
         For Oracle, MySQL and ODBC specific implmentaion were done while there special methods should be called.
      3. Some other new methods of TSQLServer class:
           IsSupportStatement() - return kTRUE if plugin has TSQLStatement implementation
           GetMaxIdentifierLength() - return maximum allowed length of identifiers
      4. Bugfix in TODBCRow class
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@15124 27541ba8-7e3a-0410-8455-c3a389f83636
      2e9223ad
  5. May 16, 2006
  6. Apr 19, 2006
  7. Apr 17, 2006
  8. Apr 12, 2006
  9. Mar 18, 2006
    • Fons Rademakers's avatar
      From Axel: · 48cd001d
      Fons Rademakers authored
      Dictionary G__%.o: G__%.cxx rules now in main Makefile instead of Module.mk's
      => changes in Module.mk.
      
      First Module.mk's included, then Makefile.precomp - we need ALLHDRS defined
      
      Split $(PCHEXTRAOBJ) and $(PCHFILE) rules - fixes clash with make -j2
      
      Define CINTCXXFLAGS:= - otherwise they will contain PCHCXXFLAGS via
      their definition as a copy of CXXFLAGS.
      
      MSVC: prevent LNK4206 linker warning (-Yl...)
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@14301 27541ba8-7e3a-0410-8455-c3a389f83636
      48cd001d
  10. Jan 20, 2006
  11. Dec 10, 2005
    • Fons Rademakers's avatar
      From Axel: · 0ab88198
      Fons Rademakers authored
      handle in a consistent way the new rootcint options -cint (default),
      -reflex and -gccxml. The type of dictionary to be used can be specified
      like: ./configure --with-dicttype=reflex. Notice that this option is
      there only for the developers working on the migration to the new
      dictionary system.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13609 27541ba8-7e3a-0410-8455-c3a389f83636
      0ab88198
  12. Dec 09, 2005
    • Fons Rademakers's avatar
      From Axel: · f4578298
      Fons Rademakers authored
      in case we have gmake >= 3.80 we can use the new | (order) syntax where
      all dependencies after the | are required to be there but not trigger
      execution of the rule. This should greatly enhance the build experience
      on Win32 and AIX (platforms that need the EXPLICITLINK option).
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@13584 27541ba8-7e3a-0410-8455-c3a389f83636
      f4578298
  13. Mar 21, 2005
    • Fons Rademakers's avatar
      From Christian Holm Christensen: · 4dfc83ff
      Fons Rademakers authored
            * New Debian and RedHat rpm packaging scripts.
            * Added a description to `build/package/debian/README.Debian' on
              how to add a new package.   It's not that complicated so it
              should be a simple thing to add a new package, even for some
              with little or no experience with RPMs or DEBs.
            * When searching for the Oracle client libraries, I added the
              directories `/usr/lib/oracle/*/client/lib' and
              `/usr/include/oracle/*/client' - as these are the paths that the
              RPMs install into.
            * I added the packages `root-plugin-krb5' and
              `root-plugin-oracle'.
            * The library `libXMLIO' is in `libroot'.
            * The package `root-plugin-xml' contains the XML parser.
            * I fixed an cosmetic error in `build/misc/root.m4'.  The
              definition of `ROOT_PATH' should be quoted, otherwise aclocal
              will complain.
            * In the top-level `Makefile' I pass an additional argument to
              `makecintdlls' - namely `$(ROOTCINTTMP)'.  In `makecintdlls' I
              use that argument to make the various dictionaries for
              `lib...Dict.so'.   Originally, the script used plain `rootcint'.
              However, as `rootcint' may not be in the path yet, or the one in
              the path may be old, this failed.  Hence, I use what we know is
              there - namely the newly build `rootcint_tmp'.  BTW, what are
              these shared libraries, and where do they belong?  I guess they
              are specific to ROOT, and not used by plain `CINT'.  For now, I
              put them in `libroot'.
            *  Made the two `virtual' packages `root-db-client' - provided the
              DB plugins, and `root-fitter' provided by `root-plugin-minuit'
              and `root-plugin-fumili'.  Note, the virtual package
              `root-file-server' provided by `root-rootd' and `root-xrootd'
              already existed in the previous patch.
            * Note, I added the directory `build/package/debian/po' which is
              for translations of DebConf templates.  DebConf is Debians very
              advanced package configuration interface.   It presents the user
              with a set of questions in some sort of `GUI' based on how much
              the user would like to change.  These `dialogs' can be
              translated quite easily.  As an example, I translated the
              questions used by the `ttf-root-installer' package into Danish.
              I'm sure someone can translate them into German, French,
              Italien, Spanish, and so on.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@11398 27541ba8-7e3a-0410-8455-c3a389f83636
      4dfc83ff
  14. Feb 17, 2005
  15. Sep 22, 2004
  16. Sep 21, 2004
  17. May 13, 2004
  18. Apr 16, 2003
  19. Nov 05, 2002
  20. Dec 11, 2001
  21. Aug 24, 2001
  22. Dec 08, 2000
  23. Oct 08, 2000
  24. Jul 29, 2000
  25. May 16, 2000
Loading