summaryrefslogtreecommitdiff
path: root/libraries/libqsqlpsql/qsql_psql_cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libqsqlpsql/qsql_psql_cpp.patch')
-rw-r--r--libraries/libqsqlpsql/qsql_psql_cpp.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/libraries/libqsqlpsql/qsql_psql_cpp.patch b/libraries/libqsqlpsql/qsql_psql_cpp.patch
deleted file mode 100644
index 6d4ee2dd7c..0000000000
--- a/libraries/libqsqlpsql/qsql_psql_cpp.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- qt-everywhere-opensource-src-4.7.0/src/sql/drivers/psql/qsql_psql.cpp 2010-09-10 11:05:25.000000000 +0200
-+++ qsql_psql.cpp 2010-11-03 12:37:55.966977333 +0100
-@@ -661,6 +661,17 @@
- break;
- }
- break;
-+ case 9:
-+ switch (vMin) {
-+ case 0:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ default:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ }
-+ break;
-+
- default:
- break;
- }
-@@ -852,7 +863,8 @@
- // This hack can dissapear once there is an API to query this sort of information.
- if (d->pro == QPSQLDriver::Version8 ||
- d->pro == QPSQLDriver::Version81 ||
-- d->pro == QPSQLDriver::Version82) {
-+ d->pro == QPSQLDriver::Version82 ||
-+ d->pro == QPSQLDriver::Version9) {
- transaction_failed = qstrcmp(PQcmdStatus(res), "ROLLBACK") == 0;
- }
-
-@@ -963,6 +975,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("SELECT pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_class.relname "
- "FROM pg_attribute, pg_class "
-@@ -1046,6 +1059,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
- "pg_attrdef.adsrc "