Sébastien Rombauts
acaed41465
setBusyTimeout() now uses check() and throw in case of error
...
- add unit test for setBusyTimeout()
- add unit test for in memory databases
2015-05-03 23:29:31 +02:00
Sébastien Rombauts
18620457b1
Add some more Unit Tests
2015-05-03 23:29:22 +02:00
Sébastien Rombauts
7fbfc29677
Fix #23 optimized Statement::getColumn() by name
...
- fix Statement::getColumn(apName) provided by #45 but was not working
instead of using #46 that conflicts with current master
- rework it by using a map of columns name as
a cache populated the first time the method is called
- add corresponding Unit Test
2015-05-03 23:28:41 +02:00
Sébastien Rombauts
6a2f8a6a8b
Cleanup and comment on the overload for GCC & Clang
2015-05-03 23:28:19 +02:00
Jack.Yuan
b6fdf50669
Fix issue: Column by name #23
...
add method `Column getColumn(const char* aName);` in Statement.h
2015-04-17 15:59:58 +08:00
Sébastien Rombauts
b84721aed3
Update copyright date in recently modified files
2015-03-08 22:53:33 +01:00
Sébastien Rombauts
f31a459cd8
Revert #31 Statement now stores the status of the last operation.
...
- the check in the destructor was not a good idea finaly,
and I added instead a getErrorCode() method
2015-03-08 15:12:26 +01:00
Sébastien Rombauts
bfdf288d3d
Fix #37 Last error code cannot be accessed
...
+ added corresponding basic unit tests
2015-03-08 15:05:03 +01:00
Sébastien Rombauts
91a98f8c73
Update Google Test submodule to latest upstream commit with better Visual Studio 2013 support
2014-09-29 20:41:54 +02:00
AndyLing
bb7a047d52
Fixed whitespace issues
2014-09-19 12:00:27 +01:00
AndyLing
4e770eb741
Statement now stores the status of the last operation so it can be checked in the pointer destructor
2014-09-19 10:54:55 +01:00
Sébastien Rombauts
55edadd56d
Fix cpplint warning for Travis Continuous Integration
2014-09-17 22:29:42 +02:00
Sébastien Rombauts
8b0fa672bf
Fix cpplint warning for Travis Continuous Integration
2014-09-17 22:29:37 +02:00
Sébastien Rombauts
618169cf36
Merge pull request #29 from mc-server/FixClangWarning
...
Fix for clang warning about Column's implicit constructor.
2014-09-17 22:21:48 +02:00
madmaxoft
e17d77245b
Fix for clang warning about Column's implicit constructor.
...
>> definition of implicit copy constructor for 'Column' is deprecated because it has a user-declared destructor [-Wdeprecated] <<
2014-09-17 21:29:33 +02:00
S. Alexander Zaman
45379f9325
clearBinding
...
added clearBinding function
2014-08-19 16:15:57 -05:00
Sébastien Rombauts
41e285347b
Fixed #20 MSVC still does not have "noexcept" keyword
2014-03-28 16:38:36 +01:00
Sébastien Rombauts
268b111817
Added a Database::getTotalChanges() method and unit test
2014-03-13 21:59:06 +01:00
Sébastien Rombauts
78ea5b254f
Removed all meaningless (void) from method definitions
2014-03-13 21:56:28 +01:00
Sébastien Rombauts
3af95da230
Added comments and test arround Database::exec() method
2014-03-13 21:44:07 +01:00
Sébastien Rombauts
6d8b808320
Fixed many cpplint warnings
2014-03-07 13:12:31 +01:00
Sébastien Rombauts
7bfaafecba
Moved include files out of the src/ dir, to an include/ dir
...
+ started a void test file
2014-03-04 23:04:38 +01:00