Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
64fe1c3d
Commit
64fe1c3d
authored
Aug 29, 1998
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debugging support -- if we get an SQL error, show the SQL command that failed.
parent
f83b7e2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
globals.tcl
globals.tcl
+6
-2
No files found.
globals.tcl
View file @
64fe1c3d
...
...
@@ -59,8 +59,12 @@ proc DebugConnect {} {
proc
SendSQL
{
str
}
{
global mysqlhandle
mysqlsel
$mysqlhandle
$str
# puts $str
global mysqlhandle errorInfo
if
{[
catch
{
mysqlsel
$mysqlhandle
$str
}
errmsg
]}
{
puts
$str
error
"
$errmsg
-
$str
"
$error
Info
}
return 0
}
...
...
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