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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
794c7b04
Commit
794c7b04
authored
Oct 14, 2001
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 57819 - change the size of the bit we print in the large error case. r=justdave.
parent
803291c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
globals.pl
globals.pl
+2
-2
No files found.
globals.pl
View file @
794c7b04
...
...
@@ -214,8 +214,8 @@ sub SendSQL {
if
(
!
$::currentquery
->
execute
)
{
my
$errstr
=
$::db
->
errstr
;
# Cut down the error string to a reasonable.size
$errstr
=
substr
(
$errstr
,
0
,
100
)
.
' ... '
.
substr
(
$errstr
,
-
1
00
)
if
length
(
$errstr
)
>
2
00
;
$errstr
=
substr
(
$errstr
,
0
,
2000
)
.
' ... '
.
substr
(
$errstr
,
-
20
00
)
if
length
(
$errstr
)
>
40
00
;
die
"$str: "
.
$errstr
;
}
SqlLog
(
"Done"
);
...
...
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