summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/psql/qsql_psql.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-03-11 12:42:34 -0700
committerThiago Macieira <thiago.macieira@intel.com>2024-03-14 12:30:32 -0700
commitb5d73636d27f1bba87980cf1bac6feb1ebd6360b (patch)
treea12b94f01996047d08b46fba51fe5d1abbff8c68 /src/plugins/sqldrivers/psql/qsql_psql.cpp
parent59d1ab57da78745d5b7f89d284d82588080300f5 (diff)
SQL/MySQL: merge toMySqlDate (which returned MYSQL_TIME) into exec()
It was the only place that called it. Makes the code slightly uglier, but removes a function that returned a raw pointer. More importantly, it gets the actual type from QVariant, without relying on it internally converting from QDateTime to QDate and QTime, or failing to do so in some cases. This is going to be needed for the next commit. Pick-to: 6.5 6.6 6.7 Change-Id: I6818d78a57394e37857bfffd17bbcd3f5057eadc Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/plugins/sqldrivers/psql/qsql_psql.cpp')
0 files changed, 0 insertions, 0 deletions