Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
22367ba7
Commit
22367ba7
authored
Feb 02, 2015
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add or correct some tracing code
modified: storage/connect/odbconn.cpp storage/connect/tabodbc.cpp
parent
82f2be67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
storage/connect/odbconn.cpp
storage/connect/odbconn.cpp
+1
-1
storage/connect/tabodbc.cpp
storage/connect/tabodbc.cpp
+3
-0
No files found.
storage/connect/odbconn.cpp
View file @
22367ba7
...
@@ -340,7 +340,7 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *db, char *table,
...
@@ -340,7 +340,7 @@ PQRYRES ODBCColumns(PGLOBAL g, char *dsn, char *db, char *table,
}
// endif ocp
}
// endif ocp
if
(
trace
)
if
(
trace
)
htrc
(
"ODBCColumns: max=%d len=%d,%d,%d
\n
"
,
htrc
(
"ODBCColumns: max=%d len=%d,%d,%d
,%d
\n
"
,
maxres
,
length
[
0
],
length
[
1
],
length
[
2
],
length
[
3
]);
maxres
,
length
[
0
],
length
[
1
],
length
[
2
],
length
[
3
]);
/************************************************************************/
/************************************************************************/
...
...
storage/connect/tabodbc.cpp
View file @
22367ba7
...
@@ -483,6 +483,9 @@ char *TDBODBC::MakeSQL(PGLOBAL g, bool cnt)
...
@@ -483,6 +483,9 @@ char *TDBODBC::MakeSQL(PGLOBAL g, bool cnt)
if
(
To_CondFil
)
if
(
To_CondFil
)
strcat
(
strcat
(
sql
,
" WHERE "
),
To_CondFil
->
Body
);
strcat
(
strcat
(
sql
,
" WHERE "
),
To_CondFil
->
Body
);
if
(
trace
)
htrc
(
"sql: '%s'
\n
"
,
sql
);
return
sql
;
return
sql
;
}
// end of MakeSQL
}
// end of MakeSQL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment