-
Notifications
You must be signed in to change notification settings - Fork 19
/
ChangeLog
717 lines (426 loc) · 19.8 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
2015-07-20 Tommi Mäkitalo <tommi@tntnet.org>
- build library whith multithreading support
2015-07-13 Tommi Mäkitalo <tommi@tntnet.org>
- update version number
2015-06-18 Tommi Mäkitalo <tommi@tntnet.org>
- reduce log level of some log output
- do not install header from demo
2015-06-15 Tommi Mäkitalo <tommi@tntnet.org>
- fix leak of statement handles in postgresql driver when using tntdb::Transaction::lockTable
- fix crash in postgresql driver when using lastInsertId without sequence name
Merge: 7747174 2196fae
2015-06-01 Tommi Mäkitalo <tommi@tntnet.org>
- Merge pull request #8 from aggsol/patch-1
Update README
- Update README
The actual configure option is `--with-replicate`
2015-05-27 Tommi Mäkitalo <tommi@tntnet.org>
- fix handling unsigned values in mysql driver
2015-05-20 Tommi Mäkitalo <tommi@tntnet.org>
- improve error message in configure when the headers of a database driver could not be found
2015-05-18 Tommi Mäkitalo <tommi@tntnet.org>
- add C++11 style begin and end functions to Statement, Result and Row classes
2015-04-23 Tommi Mäkitalo <tommi@tntnet.org>
- fix limit and offset handling in oracle driver
- add support for limit and offset in sql statements
2015-03-16 Tommi Mäkitalo <tommi@tntnet.org>
- minor performance fix: pass std::string by reference (uncovered by cppcheck)
2015-02-01 Tommi Mäkitalo <tommi@tntnet.org>
- add include file to dist package
Merge: ee56f89 e4c8161
2015-01-23 Tommi Mäkitalo <tommi@tntnet.org>
- Merge pull request #7 from ghinadr/master
Forward declare class Cursor
2015-01-22 ghinadr <adig33@yahoo.com>
- Forward declare class Cursor
Class Cursor is referentiated in the Statement class, with the
declarator friend. Without the forward declaration of class Cursor,
tntdb won't compile on AIX 6.1
2015-01-05 Tommi Mäkitalo <tommi@tntnet.org>
- add documentation to tntdb::SqlBuilder
2015-01-04 Tommi Mäkitalo <tommi@tntnet.org>
- add support for std::multiset, std::forward_list, std::unordered_set and std::unordered_multimap
Merge: 9c0b34f 69bbbb2
2014-12-04 Tommi Mäkitalo <tommi@tntnet.org>
- update autoconf macro to check for C++-11 (makes C++-11 flag optional)
2014-11-02 Jonas Platte <mail@jonasplatte.de>
- Updated .gitignore
- Added pkg-config support
- Cleaned up configure.ac a bit
2014-10-31 Tommi Mäkitalo <tommi@tntnet.org>
- make get methods, which create RowReaders const in Row and Statement::const_iterator
2014-10-28 Tommi Mäkitalo <tommi@tntnet.org>
- discard previous http reply on execute if not fully read in http client
2014-10-24 Tommi Mäkitalo <tommi@tntnet.org>
- fix typos in tntdb howto
2014-10-14 Tommi Mäkitalo <tommi@tntnet.org>
- use c++ 11 mode of compiler if supported for better optimization
2014-09-30 Tommi Mäkitalo <tommi@tntnet.org>
- replace some demos with better ones
- add helper methods to tntdb::Row and tntdb::Statement::const_iterator to make working with RowReader easier
2014-08-31 Andreas Welchlin <Andreas.Welchlin@comyno.com>
- refine documentation
2014-04-15 Jonas Platte <mail@jonasplatte.de>
- Documentation and style revision for Blob, Connection, Statemnt
2014-04-14 Jonas Platte <mail@jonasplatte.de>
- Removed all trailing whitespace from source files,
documentation + indentation update for the toplevel include directory
2014-03-13 Jonas Platte <jonasplatte@myopera.com>
- Documentation + code style revision: Date, Time, Datetime
2014-08-15 Tommi Mäkitalo <tommi@tntnet.org>
- remove cxxtools::NonCopyable class
- fix build for oracle driver
- pass required oci (oracle) version number correctly
2014-02-22 Tommi Mäkitalo <tommi@tntnet.org>
- buildfix: check for postgresql header after setting CPPFLAGS properly
2014-01-22 Tommi Mäkitalo <tommi@tntnet.org>
- fix freeing pooled mysql connection when prepareCached is used
2013-11-29 Tommi Mäkitalo <tommi@tntnet.org>
- update installation hints
2013-10-03 Tommi Mäkitalo <tommi@tntnet.org>
- autoscan.sh is obsolete - use "autoreconf -i" instead
2013-10-01 Tommi Mäkitalo <tommi@tntnet.org>
- fix check for unsigned long long
2013-09-21 Tommi Mäkitalo <tommi@tntnet.org>
- improve error handling in sqlite driver
2013-07-29 Tommi Mäkitalo <tommi@tntnet.org>
- add check for postgresql header availability to configure
2013-07-10 Tommi Mäkitalo <tommi@tntnet.org>
- build improvements:
* disable static build by default
* autodetect oci (oracle call interface)
- update build:
* autoconf wants configure.ac instead of configure.in
* INCLUDE in Makefile.am is obsolete; AM_CPPFLAGS should be used
2013-07-06 Tommi Mäkitalo <tommi@tntnet.org>
- add api documentation about the drivers
2013-06-19 Richard Kojedzinszky <krichy@tvnetwork.hu>
- Initialize transactionActive in constructor
2013-06-07 Tommi Mäkitalo <tommi@tntnet.org>
- add more build instructions into README-SOURCE-REPOS
2013-06-07 Tommi Mäkitalo <tommi@tntnet.org>
- set CPPFLAGS instead of CXXFLAGS to set include directory
2013-06-06 Olaf Radicke <briefkasten@olaf-radicke.de>
- Add doku about installation from source repository.
2013-05-10 Tommi Mäkitalo <tommi@tntnet.org>
- make oracle connection pool fork safe (don't reuse connections in child process)
2013-05-09 Tommi Mäkitalo <tommi@tntnet.org>
- convert documentation to markdown and update it
2013-04-08 tommi@tntnet.org
- release candidate 1.3rc3
2013-03-31 tommi@tntnet.org
- remove removed m4/acx_pthread.m4 from Makefile.am also
- fix compiler warnings
- remove pthread checks from tntdb since it is not needed
2013-03-17 tommi@tntnet.org
- fix some compiler warnings
- set preprocesor flags in CPPFLAGS instead of CXXFLAGS
- update version number to 1.3rc2; update ChangeLog
2013-03-16 tommi@tntnet.org
- add chapters about business logic, application class and logging to quick start guide
- release candidate 1.3rc2
2013-03-11 tommi@tntnet.org
- do not use implicit conversion of cxxtools::SmartPtr to raw pointer in oracle driver also
2013-03-03 tommi@tntnet.org
- release candidate 1.3rc1
2013-01-18 tommi@tntnet.org
- fix table locking in oracle driver
2013-01-17 tommi@tntnet.org
- extend locktest program with facility to create read locks
- implement lockTable method in tntdb::Transaction
- compile with -Wall and -pedantic if compiler supports it
2012-08-15 tommi@tntnet.org
- delay deallocation of statements in postgresql during transactions since failed transactions causes deallocation to fail
2012-08-04 tommi@tntnet.org
- remove unused variable
- pass param format array to PQexecParams correctly when opening cursor in postgresql driver
2012-05-28 tommi@tntnet.org
- remove deprecated header cxxtools/loginit.h
- add test reading with cursor into unit test
2012-05-26 tommi@tntnet.org
- add support for cxxtools::String (unicode string class)
2012-04-16 tommi@tntnet.org
- fix fetching blob fields in oracle driver and extend unit test for type for using tntdb::Result
- fix fetching datetime and blob fields in oracle driver
2012-04-12 tommi@tntnet.org
- use OCI number conversion functions where feasible in oracle driver
- optimize oracle driver by fetching multiple values at once (reading larger amounts of data is dramatically faster now)
2012-04-02 tommi@tntnet.org
- update version number to 1.2
- remove old debian directory
2012-03-31 tommi@tntnet.org
- update ChangeLog and version number
- fix tntdb::Decimal for freebsd
- fix a special case in conjunction with quotes when parsing sql statements
2012-03-26 tommi@tntnet.org
- some fixes concerning new tntdb::Decimal class and optimization in oralce driver (rebind only when needed)
2012-03-25 tommi@tntnet.org
- fix mysql driver: mysql_stmt_execute accesses bound data even when it is deleted
- add unit tests for basic tntdb functionality
- fix setting char, date, time and datetime in mysql
2012-03-15 tommi@tntnet.org
- improve support for integer type in Decimal class
2012-03-13 tommi@tntnet.org
- new method getInteger in tntdb::Decimal
- update oracle driver to new decimal class
2012-03-12 tommi@tntnet.org
- fix parsing some decimal numbers and allow leading and trailing white space
- avoid possible wrong overflow in decimal class
- fixes for decimal parser
2012-03-08 tommi@tntnet.org
- remove some constructors from Decimal to reduce abiguity
2012-03-05 tommi@tntnet.org
- simplify tntdb::Decimal and make its use more efficient
2012-02-26 tommi@tntnet.org
- fix compiler warnings in decimal class and add some unit tests for decimal class
2012-02-25 tommi@tntnet.org
- set compile flags for ibm xlc and fix some warnings
2012-02-11 tommi@tntnet.org
- set abi version to 3
- add sql scripts for creating test tables into dist package
2012-02-09 tommi@tntnet.org
- implement method tntdb::Row::getColumnName(size_type)
2012-02-09 tommi@tntnet.org
- fix resetting rowreader
- fix some compiler warnings in Decimal class
2012-02-08 tommi@tntnet.org
- remove search path from tntdb since people should use LD_LIBRARY_PATH if really needed and prefer that over configured driver directory
- better cleanup in tntdb unit test
- fix reading floating point number from decimal column in mysql driver
2012-02-05 tommi@tntnet.org
- initialize tests correctly - null test did not work as it should have
2012-02-01 tommi@tntnet.org
- sort connections in replicate driver to reduce risk of dead locks but still use first connection as primary connection for selects
2011-11-25 tommi@tntnet.org
- remove now obsolete method tntdb::Statement::paramlist (replaced by tntdb::SqlBuilder)
- add missing return statement into tntdb::SqlBuilder::replaceIf
- add else value into tntdb::SqlBuilder::replaceIf
- when replication fails in replication driver add the number of the connection, which fails to the exception message
- add unit test for tntdb::SqlBuilder
- fix replication driver - after last fix statements were executed twice on the first connection
2011-11-24 tommi@tntnet.org
- add default constructor and setter for sql builder
2011-11-23 tommi@tntnet.org
- add class tntdb::SqlBuilder as a helper for dynamically built sql statements
2011-11-22 tommi@tntnet.org
- add support for parameter lists in Statement
2011-11-17 tommi@tntnet.org
- Datetime must not have a zero year, month or day in oracle
2011-11-11 tommi@tntnet.org
- fix ping in replicate driver
- prevent endless retry to create new connections in connectionpool
2011-11-10 tommi@tntnet.org
- OCIPing did not work on our oracle server 10.2.0.4.0; replace with OCIServerVersion on oracle before 11
2011-11-04 tommi@tntnet.org
- fix out of tree build
2011-09-25 tommi@tntnet.org
- fix wrong data type in tntdb::Decimal::getUnsignedShort()
- fix build for autoconf 2.68
2011-09-20 tommi@tntnet.org
- add missing return statements in replicate driver
2011-09-01 tommi@tntnet.org
- add get method for tntdb::Value to RowReader
- add rowreader.h to Makefile.am
2011-08-27 tommi@tntnet.org
- add documentation for tntdb::RowReader
2011-08-26 tommi@tntnet.org
- implement new helper class tntdb::RowReader, which makes it easier to read all values from a row
2011-06-03 tommi@tntnet.org
- add support for short and unsigned short
2011-05-06 tommi@tntnet.org
- fix reading time with second fractional part >0.9999, which resulted in a invalid time in postgresql driver
2011-04-25 tommi@tntnet.org
- add operators for cxxtools::Date, Time and DateTime classes
2011-04-02 tommi@tntnet.org
- fix compile problem on BSD (timeval.tv_sec is not of type time_t)
2011-03-24 tommi@tntnet.org
- use transacions to make sure replication works also on error on the second db in replication driver
2011-03-22 tommi@tntnet.org
- use OCIPing to check if oracle connection is still alive
2011-03-22 tommi@tntnet.org
- default to empty string of serial name when retrieving last insert id, which means: get the last inserted id regardless of name
2011-02-27 tommi@tntnet.org
- update tntdb to latest cxxtools (svn release 1203 or cxxtools 2.1)
2011-02-21 tommi@tntnet.org
- support for nan and inf in postgresql driver
2011-02-21 tommi@tntnet.org
- deliver last incremented serial if passed empty string to lastInsertId method in postgresql driver
2011-02-21 tommi@tntnet.org
- add replicating driver to tntdb
2011-01-30 tommi@tntnet.org
- fix: long was casted to int when set in statement
2011-01-10 tommi@tntnet.org
- implement getLong and getUnsignedLong in tntdb::row
2011-01-05 tommi@tntnet.org
- add tntdb::BlobIStream: a std::istream interface to tntdb::Blob
2010-11-14 tommi@tntnet.org
- do not generate doxygen documentation by default
2010-11-13 tommi@tntnet.org
- use async calls when testing connection with ping in postgresql driver to monitor timeout
2010-10-29 tommi@tntnet.org
- fix warning in postgresql driver about failed deallocation of statement on close connection when lastInserId was used
2010-10-23 tommi@tntnet.org
- statement parser fixes: do not convert type of cast expressions like
a::integer into host variable and parse 2 consecutive hostvars
correctly
2010-10-06 tommi@tntnet.org
- make tntdb::Blob thread safe - the empty instance may be shared between connections in different threads
2010-09-29 tommi@tntnet.org
- remove obsolete code for statically bind drivers to tntdb
- build driver name from abi_current from configure.in
2010-09-28 tommi@tntnet.org
- make tntdb::connect thread safe
2010-09-27 tommi@tntnet.org
- bugfix: tntdb::Value::getUnsignedLong should return an unsigned long instead of an unsigned
2010-09-16 tommi@tntnet.org
- add logging to transaction class and do not inline it
2010-09-08 tommi@tntnet.org
- add convenience method tntdb::Statement::setIf to set to a value or null depending on a bool
2010-08-11 tommi@tntnet.org
- unify handling of nested transactions (ignore nested transactions like oracle driver did it already)
2010-08-01 tommi@tntnet.org
- release 1.1
2010-03-25 adi
- error for decimal number < 1 fixed
2010-02-16 tommi@tntnet.org
- tntdb::Statement::setLong and setUnsignedLong
- add unittest
- add relational operators to tntdb::Decimal
2010-02-13 tommi@tntnet.org
- add support for auto-incremented values with new method
tntdb::Connection::lastInsertId(std::string)
- new methods getLong and getUnsignedLong in tntdb::Value
2010-02-11 tommi@tntnet.org
- add template method tntdb::Value::get(T&)
2010-02-09 tommi@tntnet.org
- remove automatic conversion operators from tntdb::Value
- add an extendable system for retrieving and setting values by overriding 2
operators
2010-02-06 tommi@tntnet.org
- let the user specify a short key for statement cache in prepareCached
- add getValue-methods to tntdb::Row, which returns the data to variables,
passed by reference
2009-12-31 tommi@tntnet.org
- replace obsolete cxxtools::Dynbuffer with std::vector
2009-12-14 tommi@tntnet.org
- add method tntdb::Value::getValue
2009-12-12 tommi@tntnet.org
- check if int and int32_t and others are distinct types
2009-09-09 tommi@tntnet.org
- extend syntax of connection string in mysql driver:
- allow values to be enclosed in single or double quotes
- escape special characters in values with backslash
- allow whitespace as delimiter
- check for duplicate keys in connection string
- add key "app" with a default "tntdb" and use my.cnf with this section
2009-06-29 tommi@tntnet.org
- clean up of oracle connection in proper order
2009-06-29 tommi@tntnet.org
- close oracle connection correctly
2009-06-16 tommi@tntnet.org
- fix sporadic error in string to number conversion in oracle driver
2009-05-15 tommi@tntnet.org
- clear statement cache at transaction end with sqlite since statement handles are invalidated
2008-12-18 tommi@tntnet.org
- fix error in oracle driver when shutting down the connection after ping
2008-12-05 tommi@tntnet.org
- bump so number
- simplify cxxtools configuration
2008-12-05 tommi@tntnet.org
- fix crash in sqlite driver in Connection::execute
2008-12-05 tommi@tntnet.org
- fix driver loading (was broken after cxxtools update)
2008-11-28 tommi@tntnet.org
- wrong exception was caught for not found driver libraries
2008-11-28 tommi@tntnet.org
- cache ping statement handle in oracle driver
2008-11-21 tommi@tntnet.org
- throw NullValue-excpetion, when a null-column is read in a postgresql result set
2008-11-15 tommi@tntnet.org
- use fetchsize hint of statement in mysql driver
2008-11-15 tommi@tntnet.org
- fix getWDay of date class
2008-07-04 tommi@tntnet.org
- remove aix specific handling
2008-07-01 tommi@tntnet.org
- fix linkflags for aix 6
2008-07-01 tommi@tntnet.org
- support for aix version > 5
2008-07-01 tommi@tntnet.org
- don't use ORACLE_HOME to find oracle includes and libraries, since we cannot know, which library the user needs to link (lib or lib32 or whatever)
2008-06-30 tommi@tntnet.org
- slightly improved date and time classes
2008-06-07 tommi@tntnet.org
- fix Statement::setBool in postgresql driver
2008-06-03 tommi@tntnet.org
- release version 1.0.1
2008-06-02 tommi@tntnet.org
- fix crash when creating 2 cursors for one statement and destroying in different order
2008-05-30 tommi@tntnet.org
- fix string handling in sqlite-driver
2008-02-16 tommi@tntnet.org
- version 1.0.0
2008-02-13 tommi@tntnet.org
- Blob class (Marc)
2007-11-14 tommi@tntnet.org
- get values by column name
2007-10-07 tommi@tntnet.org
- replace tntdb::SmartPtr with cxxtools::SmartPtr
2007-09-27 tommi@tntnet.org
- build improvements for AIX
2007-09-21 tommi@tntnet.org
- support for decimals and 32/64-bit integers (from Mark Wright)
2007-06-08 tommi@tntnet.org
- bugfix: tntdb crashed, when iterating over a statement which returns no rows
2007-05-23 tommi@tntnet.org
- driver for oracle
- support for MEDIUMINT in mysql-driver
2007-05-11 tommi@tntnet.org
- fix connectionpool
2007-03-27 tommi@tntnet.org
- tntdb::Connection::ping to check, if the connection is alive
- use that ping in connectionpool before returning connection
- tntdb::setMaxPoolSize(unsingned) and tntdb::getMaxPoolSize()
2007-02-20 tommi@tntnet.org
- fix leak: the statement-cursor is not freed, when the first fetch was not
successful
2006-10-21 tommi@tntnet.org
- add fetchsize-parameter (with default 100) to tntdb::Statement::begin to
pass a hint to the implementing cursor
2006-10-12 tommi@tntnet.org
- don't inline constructors of error-classes to help compiler matching the
right type in catch-block (a problem with gcc 4.1 at least)
2006-10-07 tommi@tntnet.org
- add getDate-, getTime- and getDatetime-methods to tntdb::Row
2006-09-20 tommi@tntnet.org
- fix cached prepared statements in sqlite: reset before reuse
2006-09-11 tommi@tntnet.org
- fix handling of binary data in sqlite3-driver
- move drivers to separate directory specified in configure with "--with-driverdir=..."
2006-08-25 tommi@tntnet.org
- fix smartpointer to support self-assignment
2006-08-24 tommi@tntnet.org
- change license to LGPL
2006-07-21 tommi@tntnet.org
- extend license to allow linking with openssl due to postgresql
2006-04-12 tommi@tntnet.org
- fix mysql-driver-bug: crashed when fetching some datatypes, because the api
seems to return too small length-values (or I misunderstand the api;-) )
2006-03-27 tommi@tntnet.org
- allow date-, datetime- and time-classes to be null, when passed to statements
2006-03-01 tommi@tntnet.org
- declare cursor in postgresql with hold to enable cursor outside transactions
2006-02-13 tommi@tntnet.org
- new method Statement::clear()
2006-01-21 tommi@tntnet.org
- connectionpool
2006-01-13 tommi@tntnet.org
- add missing include/tntdb/sqlite/impl/connectionmanager.h
2005-12-26 tommi@tntnet.org
- new Sqlite-driver
2005-11-12 tommi@tntnet.org
- use PQexec with PREPARE when PQprepare is not found (postgresql prior 8.0)
2005-11-11 tommi@tntnet.org
- make drivers for mysql and postgresql optional in configure
2005-10-26 tommi@tntnet.org
- fixed handling of MYSQL_TYPE_LONGLONG