mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
DateTime wrong binding/extraction for MySQL database #1897; add docker mysql runtests
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user