blob: 8e38b1e4631eb172b45eb4d8e3d21de893e7524d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
diff --git src/connection/sqlrcursor/queryparse.C src/connection/sqlrcursor/queryparse.C
index 989cc50..fed0738 100644
--- src/connection/sqlrcursor/queryparse.C
+++ src/connection/sqlrcursor/queryparse.C
@@ -61,7 +61,7 @@ void sqlrcursor_svr::checkForTempTable(const char *query, uint32_t length) {
// see if the query matches the pattern for a temporary query that
// creates a temporary table
if (createtemp.match(ptr)) {
- ptr=createtemp.getSubstringEnd(0);
+ ptr=(char *)createtemp.getSubstringEnd(0);
} else {
return;
}
diff --git src/connections/router/routerconnection.C src/connections/router/routerconnection.C
index b8b4b34..f67fb4b 100644
--- src/connections/router/routerconnection.C
+++ src/connections/router/routerconnection.C
@@ -632,7 +632,7 @@ void routercursor::checkForTempTable(const char *query, uint32_t length) {
// look for "create global temporary table "
if (createoratemp.match(ptr)) {
- ptr=createoratemp.getSubstringEnd(0);
+ ptr=(char *)createoratemp.getSubstringEnd(0);
} else {
return;
}
|