DateTime wrong binding/extraction for MySQL database #1897; add docker mysql runtests

This commit is contained in:
Alex Fabijanic
2017-10-07 12:43:04 -05:00
parent 17e9a335af
commit c7f105d1cd
5 changed files with 34 additions and 10 deletions

View File

@@ -1263,7 +1263,7 @@ void SQLExecutor::dateTime()
std::string lastName("Bart");
std::string firstName("Simpson");
std::string address("Springfield");
DateTime birthday(1980, 4, 1, 5, 45, 12);
DateTime birthday(1980, 4, 1, 5, 45, 12, 354, 879);
int count = 0;
try { *_pSession << "INSERT INTO Person VALUES (?,?,?,?)", use(lastName), use(firstName), use(address), use(birthday), now; }