Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc666255

Browse files
committed
Typo changes in tests/ examples.
1 parentc05a7bd commitc666255

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/interfaces/libpq++/examples/testlibpq5.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ main()
9393
<<" i = (" << data.GetLength(i,i_fnum) <<" bytes)" << *ival <<"," << endl
9494
<<" d = (" << data.GetLength(i,d_fnum) <<" bytes)" << *dval <<"," << endl
9595
<<" p = (" << data.GetLength(i,d_fnum) <<" bytes)" << pval->npts <<" points"
96-
<<"\tboundbox = (hi=" << pval->boundbox.xh <<"/" << pval->boundbox.yh <<","
97-
<<"lo =" << pval->boundbox.xl <<"," << pval->boundbox.yl <<")" << endl;
96+
<<"\tboundbox = (hi=" << pval->boundbox.high.x <<"/" << pval->boundbox.high.y <<","
97+
<<"lo =" << pval->boundbox.low.x <<"," << pval->boundbox.low.y <<")" << endl;
9898

9999
// Deallocate memory allocated for the Polygon structure
100100
free(pval);

‎src/tutorial/basics.source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
--
77
-- Copyright (c) 1994, Andrew Yu, University of California
88
--
9-
-- $Id: basics.source,v 1.1.1.1 1996/07/09 06:22:34 scrappy Exp $
9+
-- $Id: basics.source,v 1.2 1997/06/25 19:59:57 momjian Exp $
1010
--
1111
---------------------------------------------------------------------------
1212

@@ -23,7 +23,7 @@ CREATE TABLE weather (
2323
temp_hiint,-- high temperature
2424
prcpfloat8,-- precipitation
2525
datedate
26-
)
26+
);
2727

2828
CREATE TABLE cities (
2929
namevarchar(80),
@@ -40,7 +40,7 @@ CREATE TABLE cities (
4040
-- the columns specified in CREATE TABLE.
4141

4242
INSERT INTO weather
43-
VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994')
43+
VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994');
4444

4545
INSERT INTO cities
4646
VALUES ('San Francisco', '(-194.0, 53.0)');
@@ -50,7 +50,7 @@ INSERT INTO cities
5050
-- eg. unknown precipitation below)
5151

5252
INSERT INTO weather (city, temp_lo, temp_hi, prcp, date)
53-
VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994')
53+
VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994');
5454

5555
INSERT INTO weather (date, city, temp_hi, temp_lo)
5656
VALUES ('11/29/1994', 'Hayward', 54, 37);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp