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
1d28bf25
Commit
1d28bf25
authored
Aug 05, 2006
by
Michael Meskes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Two more changes to regression tests to fix two differences in different setups.
parent
63d3f5e5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
src/interfaces/ecpg/test/complex/test4.pgc
src/interfaces/ecpg/test/complex/test4.pgc
+1
-1
src/interfaces/ecpg/test/expected/complex-test4.c
src/interfaces/ecpg/test/expected/complex-test4.c
+1
-1
src/interfaces/ecpg/test/expected/complex-test4.stdout
src/interfaces/ecpg/test/expected/complex-test4.stdout
+1
-1
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c
+1
-1
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout
+1
-1
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc
+1
-1
No files found.
src/interfaces/ecpg/test/complex/test4.pgc
View file @
1d28bf25
...
...
@@ -33,7 +33,7 @@ EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL END DECLARE SECTION;
strcpy(t, "0123456789");
setlocale(LC_ALL, "
de_DE
");
setlocale(LC_ALL, "
C
");
ECPGdebug(1, stderr);
...
...
src/interfaces/ecpg/test/expected/complex-test4.c
View file @
1d28bf25
...
...
@@ -152,7 +152,7 @@ main (void)
strcpy
(
t
,
"0123456789"
);
setlocale
(
LC_ALL
,
"
de_DE
"
);
setlocale
(
LC_ALL
,
"
C
"
);
ECPGdebug
(
1
,
stderr
);
...
...
src/interfaces/ecpg/test/expected/complex-test4.stdout
View file @
1d28bf25
Found f=14
,
070000 text=0123456789 b=1
Found f=14
.
070000 text=0123456789 b=1
Found a[0] = 9
Found a[1] = 8
Found a[2] = 7
...
...
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c
View file @
1d28bf25
...
...
@@ -384,7 +384,7 @@ if (sqlca.sqlcode < 0) sqlprint ( );}
in
=
"1980-04-12 3:49:44 "
;
i
=
PGTYPEStimestamp_defmt_asc
(
in
,
fmt
,
&
ts1
);
text
=
PGTYPEStimestamp_to_asc
(
ts1
);
printf
(
"timestamp_defmt_asc(%s,
%s) = %s, error: %d
\n
"
,
in
,
fmt
,
text
,
i
);
printf
(
"timestamp_defmt_asc(%s,
NULL) = %s, error: %d
\n
"
,
in
,
text
,
i
);
free
(
text
);
fmt
=
"%B %d, %Y. Time: %I:%M%p"
;
...
...
src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout
View file @
1d28bf25
...
...
@@ -41,7 +41,7 @@ timestamp_defmt_asc(abc
18 October %34 17:28:44 CEST 80, abc%n %C %B %%%d %H:%M:%S %Z %y) = 1880-10-31 15:28:44, error (should be error!): 1
timestamp_defmt_asc(abc
18 October %34 17:28:44 CEST 80, ) = 1880-10-31 15:28:44, error (should be error!): 1
timestamp_defmt_asc(1980-04-12 3:49:44 ,
(null)
) = 1980-04-12 03:49:44, error: 0
timestamp_defmt_asc(1980-04-12 3:49:44 ,
NULL
) = 1980-04-12 03:49:44, error: 0
timestamp_defmt_asc(July 14, 1988. Time: 9:15am, %B %d, %Y. Time: %I:%M%p) = 1988-07-14 09:15:00, error: 0
timestamp_defmt_asc(September 6 at 01:30 pm in the year 1983, %B %d at %I:%M %p in the year %Y) = 1983-09-06 13:30:00, error: 0
timestamp_defmt_asc( 1976, July 14. Time: 9:15am, %Y, %B %d. Time: %I:%M %p) = 1976-07-14 09:15:00, error: 0
...
...
src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc
View file @
1d28bf25
...
...
@@ -313,7 +313,7 @@ main(void)
in = "1980-04-12 3:49:44 ";
i = PGTYPEStimestamp_defmt_asc(in, fmt, &ts1);
text = PGTYPEStimestamp_to_asc(ts1);
printf("timestamp_defmt_asc(%s,
%s) = %s, error: %d\n", in, fmt
, text, i);
printf("timestamp_defmt_asc(%s,
NULL) = %s, error: %d\n", in
, text, i);
free(text);
fmt = "%B %d, %Y. Time: %I:%M%p";
...
...
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