Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
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
Abuhujair Javed
Postgres FD Implementation
Commits
8758985c
Commit
8758985c
authored
Apr 12, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent drop database failure from showing.
parent
37e7c7df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
src/include/c.h
src/include/c.h
+9
-5
src/test/regress/checkresults
src/test/regress/checkresults
+1
-1
No files found.
src/include/c.h
View file @
8758985c
...
...
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.6
6 2000/03/20 04:02:46
momjian Exp $
* $Id: c.h,v 1.6
7 2000/04/12 05:24:50
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -531,9 +531,11 @@ typedef struct Exception
*
*/
#define Trap(condition, exception) \
{ if ((assert_enabled) && (condition)) \
do { \
if ((assert_enabled) && (condition)) \
ExceptionalCondition(CppAsString(condition), &(exception), \
(char*)NULL, __FILE__, __LINE__); }
(char*)NULL, __FILE__, __LINE__); \
} while (0)
/*
* TrapMacro is the same as Trap but it's intended for use in macros:
...
...
@@ -577,9 +579,11 @@ extern int assert_enabled;
*
*/
#define LogTrap(condition, exception, printArgs) \
{ if ((assert_enabled) && (condition)) \
do { \
if ((assert_enabled) && (condition)) \
ExceptionalCondition(CppAsString(condition), &(exception), \
vararg_format printArgs, __FILE__, __LINE__); }
vararg_format printArgs, __FILE__, __LINE__); \
} while (0)
/*
* LogTrapMacro is the same as LogTrap but it's intended for use in macros:
...
...
src/test/regress/checkresults
View file @
8758985c
...
...
@@ -4,7 +4,7 @@
[
"$#"
-eq
0
]
&&
set
regress.out
for
file
in
`
cat
"
$@
"
|
grep
'failed$'
|
cut
-d
" "
-f
1
`
for
file
in
`
cat
"
$@
"
|
grep
'failed$'
|
grep
-v
'^dropdb: '
|
cut
-d
" "
-f
1
`
do
echo
"======
$file
======"
diff
-w
expected/
$file
.out results
...
...
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