[root] / trunk / sql / oracle / src / TOracleRow.cxx Repository:
ViewVC logotype

Log of /trunk/sql/oracle/src/TOracleRow.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 49019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:18:33 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 49018
Import revision 48931 from the v5-34-00 patch branch:
Add the concept of implicit rules to (centrally) support automatic translation of
STL collection from numeric type to other numeric type or for when the contained
class has some rules.  Currently enabled only when the target is an std::vector.

Implement the transformation from STL container of numeric to any other numeric
type (both in TGenCollectionStreamer and TStreamerInfo[Actions]).

Migrate more of the conversions to TStreamerInfoActions.

Fix the Conversion of a Double32 or Float16 inside a collection of object to another
type (the previous implemetation was not supporting the customization of the factor
nor the number of bits).

Add TBuffer::ReadFastArrayWithNbits and WithFactor for use in the StreamerInfo Actions.

TStreamerInfoActions:

Introduce WithFactorMarker and NoFactorMarker to allow for less code duplicaton when
supporting Float16_t and Double32_t.
Replace the collection-memberwise action from loop over simple operation to using
ReadFastArray (to be compatible with TBufferXML).

Revision 49018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:17:38 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 49017
Import revision 48922 from the v5-34-00 patch branch:
Remove inadvertent match between 2 unrelated STL collection containing objects

Revision 49017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:17:11 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 49016
Import revision 48921 from the v5-34-00 patch branch:
Improve performace of reading a vector of non-class type by 25% (i.e. std::vector<int>).
The code to apply the same improvement to other container type is in place but is not
enabled yet as the 'better' solution avoid creating a temporary array to read in the
value via Read[Fast]Array, however the avoid the call to Read[Fast]Array breaks
the XML streaming (which uses Read[Fast]Array to insert the <Array> tag around the
element).  See for example VectorLooper::ReadCollectionBool ...

Revision 49016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:16:42 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 49015
Import revision 48915 from the v5-34-00 patch branch:
White spaces

Revision 49015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:16:15 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 49014
Import revision 48911 from the v5-34-00 patch branch:
Add the Action function for trivial conversion.

Refactor the creation of the ConfiguredAction for collection (using 3 classes with function templates) that are used in the unique generator functions. This reduces code duplication.

Revision 49014 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 31 17:15:47 2013 UTC (21 months, 3 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 48513
Import revision 48910 from the v5-34-00 patch branch:
Add Note of missing implementation

Revision 48513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 8 16:58:07 2013 UTC (23 months, 2 weeks ago) by pcanal
File length: 5038 byte(s)
Diff to previous 44341
Import revision 48512 from the v5-34-00 patch branch:
From Sergey:

There are Oracle native data types, which not yet supported by TOracleRow
class. 

Patch provides support for BDOUBLE and BFLOAT types.

Revision 44341 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 29 15:02:48 2012 UTC (2 years, 7 months ago) by axel
File length: 4882 byte(s)
Diff to previous 35527
Remove using namespaces from headers as per Savannah #94452.

Revision 35527 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 12:27:01 2010 UTC (4 years, 4 months ago) by brun
File length: 4829 byte(s)
Diff to previous 34279
do not include snprintf.h

Revision 34279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 11:02:15 2010 UTC (4 years, 6 months ago) by rdm
File length: 4851 byte(s)
Diff to previous 29321
fix format warnings.

Revision 29321 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 3 10:42:10 2009 UTC (5 years, 6 months ago) by brun
File length: 4890 byte(s)
Diff to previous 23123
From Sergei Linev:
1. New static methods to set/get time formatting in TOracleServer
2. Move float format constant for TBufferSQL2 to TSQLServer
3. Use that format in several other appropriate places like TODBCStatement, TOracleRow and so on.
4. Replace sprintf to snprintf calls in several places.

Revision 23123 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 15:18:52 2008 UTC (6 years, 9 months ago) by rdm
File length: 4829 byte(s)
Diff to previous 22419
move the following directories to "sql":

mysql, odbc, oracle, pgsql, sapdb

Revision 22419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 3 00:25:01 2008 UTC (6 years, 10 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4829 byte(s)
Diff to previous 20882
From Andrew Savchenko:
ROOT can not be compiled with gcc-4.3.
Some ROOT source files doesn't contain required #include directives,
for example, they use strlen(), but #include <string.h> is missed or
malloc() is used and #include <stdlib.h> is missed. 

Earlier versions of gcc allowed some headers to be included implicitly,
but issued a warning (-Wimplicit-function-declaration). Newer one,
gcc-4.3 denies such silly behaviour: all required headers must be explicitly
included. 

Attached patch fixes this. Also it fixes another issue, which disallows
ROOT to compile under gcc-4.3: C functions don't belong to namespace std,
so expressions like std::memcpy() are no longer valid and plain memcpy()
should be used instead.

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4809 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4809 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4860 byte(s)
Diff to previous 16204
remove :$ from tag line

Revision 16204 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 13:37:08 2006 UTC (8 years, 4 months ago) by brun
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4870 byte(s)
Diff to previous 14677
From Sergey Linev:
1. Support of date/time/date&time/timestamp data introduced in TSQLStatement
   All such data now can be accessed without text conversion.
   The following methods can be used:

   SetTime()/GetTime() - only time (hour:min:sec),
   SetDate()/GetDate() - only date (year-month-day),
   SetDatime()/GetDatime() - date and time
   SetTimestamp()/GetTimestamp() - timestamp with seconds fraction
   For some of these methods TDatime type can be used as parameter / return value.
   Be aware, that TDatime supports only dates after 1995-01-01.
   There are also methods to get separately year, month, day, hour, minutes and seconds.

2. Support of binary data in TSQLStatement
    Most of modern data bases support just binary data, which is
    typically has SQL type name 'BLOB'. To access data in such
    columns, GetBinary()/SetBinary() methods should be used.
    Current implementation supposes, that complete content of the
    column must be retrieved at once. Therefore very big data of
    gigabytes size may cause a problem.

Revision 14677 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 21:21:20 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4571 byte(s)
Diff to previous 14675
fix compilation error.

Revision 14675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 20:53:45 2006 UTC (8 years, 9 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4576 byte(s)
Diff to previous 14002
From Sergei Linev:
Added TSQLStatment abstract class and TMySQLStatment and TOracleStatement
classes to support bulk DB operations. For more details see the description
in the TSQLStatement.cxx file.

Revision 14002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 19:48:00 2006 UTC (8 years, 11 months ago) by pcanal
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 6662 byte(s)
Diff to previous 11669
From Sergei Linev:
Main performance improvement are these two lines.

   fStmt->setPrefetchRowCount(1000);
   fStmt->setPrefetchMemorySize(1000000);

It increases default buffers, which are about 8K and read much faster.
For my example it runs 3 times faster, for other application it can be 4-5 times.

Second patch is required for treatement of integers out of normal integer range (long long or unsigned int).
I replace string -> int -> string conversion by just copying string to buffer. For the floats it is not working,
while Oracle text format differs from C++ format.

Revision 11669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 25 17:21:11 2005 UTC (9 years, 9 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 6682 byte(s)
Diff to previous 11203
From Yan Liu:
fixed verion of the Oracle plugin. Should now work as advertised via the
abstract TSQL interfaces.

Revision 11203 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Feb 28 19:11:00 2005 UTC (9 years, 10 months ago) by rdm
Original Path: trunk/oracle/src/TOracleRow.cxx
File length: 4185 byte(s)
From Yan Liu and Shaowen Wang:
This is the first version of the new oracle plugin.
To build this plugin one needs to install the following
Oracle InstantClient rpms:
   oracle-instantclient-basic-10.1.0.3-1
   oracle-instantclient-devel-10.1.0.3-1
And the following environment variables in your .[bash_]profile:
   export ORACLEINCDIR=/usr/include/oracle/10.1.0.3/client
   export ORACLELIBDIR=/usr/lib/oracle/10.1.0.3/client/lib
   export LD_LIBRARY_PATH=$ORACLELIBDIR:$LD_LIBRARY_PATH

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9