File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
# !/usr/local/bin/perl -w
2
2
3
- # $Id: test.pl,v 1.10 1999/10/08 05:03:14 momjian Exp $
3
+ # $Id: test.pl,v 1.11 1999/10/08 17:14:45 momjian Exp $
4
4
5
5
# Before `make install' is performed this script should be runnable with
6
6
# `make test'. After `make install' it should work as `perl test.pl'
147
147
148
148
# ######################## create and insert into table
149
149
150
- $result = $conn -> exec (" CREATE TABLE person (id int4, name char(16)) -- test" );
150
+ # we test comments inside string and with no trailing newline here
151
+ $result = $conn -> exec (" CREATE TABLE person (id int4, -- test\n name char(16)) -- test" );
151
152
die $conn -> errorMessage unless PGRES_COMMAND_OK eq $result -> resultStatus;
152
153
my $cmd = $result -> cmdStatus;
153
154
( " CREATE" eq $cmd )
Original file line number Diff line number Diff line change
1
+ /* some platforms define __alpha, but not __alpha__ */
2
+ #if defined(__alpha) && !defined(__alpha__)
3
+ #define __alpha__
4
+ #endif
5
+
1
6
%.so: %.o
2
7
$(LD) -shared -expect_unresolved '*' -o $@ $<
You can’t perform that action at this time.
0 commit comments