aboutsummaryrefslogtreecommitdiff
path: root/odb
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28Bump version to 2.5.0.b.1.z, switch to build2 version module2.5.0-b.1Boris Kolpackov1-4/+4
2017-04-06Map string keys to MySQL VARCHAR(128) instead of 255 to support 4-byte UTF-8Boris Kolpackov2-2/+2
This is a backwards-incompatible change in that it may change your schema. To obtain the old behavior you will have to explicitly re-map std::string with the id_type pragma or explicitly specify the database type for each affected id member with the type pragma.
2017-03-27Implement support for mixed auto/0 id assignment in MySQLBoris Kolpackov1-1/+12
Now one can do: odb::nullable<int64_t> id; And then, when used with NO_AUTO_VALUE_ON_ZERO, set the id to NULL to get auto-assignment or to 0 to use 0 as the id.
2017-01-03Update copyright yearBoris Kolpackov210-211/+211
2016-12-28Fix GCC 6 issue with PRAGMA_DB macroBoris Kolpackov3-28/+40
In GCC 6 we use the position of the macro expansion, not the position inside the macro itself. This means that multiple pragmas inside PRAGMA_DB will all have the same position which we were not handling properly.
2016-12-23Fix bug in GCC 6 input_location translationBoris Kolpackov1-0/+8
2016-12-05Fix incomplete 2.5.0-a11 version updateBoris Kolpackov1-1/+1
2016-11-27Fix bug in handling section members that require growthBoris Kolpackov9-28/+51
2016-10-26Implement support for mixed auto/manual id assignment in SQLiteBoris Kolpackov3-4/+16
Now one can do: #pragma db id auto odb::nullable<int64_t> id; And then set the id to NULL to get auto-assignment or to the actual value to use a manual id.
2016-09-08Bump version to 2.5.0-a11Boris Kolpackov1-3/+3
2016-08-22Bump version to 2.5.0-a102.5.0-a10Boris Kolpackov1-4/+4
2016-08-19Fix uninitialized variable warning2.5.0-a9Boris Kolpackov1-1/+1
2016-08-18Detect container of containers via composite valueBoris Kolpackov1-0/+47
2016-08-15Lock object statements when loading sectionsBoris Kolpackov1-31/+59
Since we use the id image and loading of object pointers can overwrite it.
2016-08-14Bump version to 2.5.0-a9Boris Kolpackov1-4/+4
Note that we now use the -[ab]N schema rather than .[ab]N.
2016-08-08Add note on need to recognize database-specific list of statement prefixesBoris Kolpackov1-0/+5
2016-06-15Bump version to 2.5.0.a8Boris Kolpackov1-4/+4
2016-05-06Bump version to 2.5.0.a7Boris Kolpackov1-4/+4
2016-05-04Ignore section logic when dealing with container elementsBoris Kolpackov3-3/+15
The container member itself can be in a section.
2016-05-04Fix bug in previous fix (include object statements for OLV)Boris Kolpackov1-6/+9
2016-05-02Make sure object statements included for object loading viewsBoris Kolpackov1-1/+9
2016-04-06Bump version to 2.5.0.a6Boris Kolpackov1-4/+4
2016-04-04Add _has_cache() custom session interface, use in OLV implementationBoris Kolpackov1-1/+1
2016-03-30Assert that statements are not already locked in top-level callsBoris Kolpackov2-0/+3
This can be violated with crafty callbacks.
2016-03-30Diagnose container value/index/key types that are not instantiatedBoris Kolpackov1-58/+65
2016-02-12Bump version to 2.5.0.a5Boris Kolpackov1-4/+4
2016-02-08Make compilable with GCC 6 in C++14 modeBoris Kolpackov2-3/+8
2016-02-05Initial work to make ODB compatible with GCC 6Boris Kolpackov7-19/+90
2016-02-04Add support for multiple values in *-file options, add final newlineBoris Kolpackov2-16/+39
2016-01-20Bump version to 2.5.0.a4Boris Kolpackov1-4/+4
2016-01-18Quote some values since cli no longer quotes \c in plain textBoris Kolpackov1-5/+5
2015-11-30Don't try to depend on installed cli executableBoris Kolpackov1-0/+5
2015-11-09Bump version to 2.5.0.a2Boris Kolpackov1-4/+4
2015-10-27Recognize /*CALL*/ hint in SELECT statements that call stored proceduresBoris Kolpackov1-0/+15
2015-10-14Fix bug in section's grow() generationBoris Kolpackov1-0/+3
2015-10-07Add support for using object pointers as map keysBoris Kolpackov3-34/+50
Also remove the restriction for map keys and set values to be NOT NULL. Not clear why it was there in the first place and it could be useful if the key or value is an object pointer.
2015-09-18Fix bug in object loading views and objects with nested idsBoris Kolpackov1-3/+17
2015-09-07Unwrap the type before checking whether it is unsignedBoris Kolpackov2-1/+4
2015-09-03Diagnose base classes that are defined after usBoris Kolpackov1-2/+48
This can happen with templates/CRP
2015-09-03Remove stray spaceBoris Kolpackov1-1/+1
2015-08-31Don't try to analyze callback signature if one wasn't foundBoris Kolpackov1-20/+22
2015-08-24Fix inconsistent composite value member prefix derivationBoris Kolpackov6-12/+30
2015-08-21Make sure we don't match namespace ::foo as prefix of ::foobarBoris Kolpackov1-1/+5
2015-07-30Export container and section traitsBoris Kolpackov1-2/+2
2015-07-27Bump version to 2.5.0.a1Boris Kolpackov1-4/+4
2015-07-27Fix member name conflicts in query supportBoris Kolpackov2-30/+47
2015-07-24Fix bug in passing empty option values via plugin command lineBoris Kolpackov2-13/+21
2015-07-24Add C++ signature to generated C++ filesBoris Kolpackov1-0/+2
2015-07-17Diagnose "composite type used before definition" situationsBoris Kolpackov5-35/+100
2015-07-15Implement SQLite incremental BLOB/TEXT I/OBoris Kolpackov14-58/+376