summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian1997-06-25 19:59:57 +0000
committerBruce Momjian1997-06-25 19:59:57 +0000
commit660961da700e8f6633b882f15227ada35351b2fa (patch)
treeaeb0b0f8df50d532cd58d08ca65bb2617de502a4
parent363d03bf9d8c2b37d818b7a4b6ab0573b9f678cf (diff)
Typo changes in tests/ examples.
-rw-r--r--src/interfaces/libpq++/examples/testlibpq5.cc4
-rw-r--r--src/tutorial/basics.source6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/libpq++/examples/testlibpq5.cc b/src/interfaces/libpq++/examples/testlibpq5.cc
index 1b6d91bbf4..878499baf4 100644
--- a/src/interfaces/libpq++/examples/testlibpq5.cc
+++ b/src/interfaces/libpq++/examples/testlibpq5.cc
@@ -93,8 +93,8 @@ main()
<< " i = (" << data.GetLength(i,i_fnum) << " bytes) " << *ival << "," << endl
<< " d = (" << data.GetLength(i,d_fnum) << " bytes) " << *dval << "," << endl
<< " p = (" << data.GetLength(i,d_fnum) << " bytes) " << pval->npts << " points"
- << "\tboundbox = (hi=" << pval->boundbox.xh << "/" << pval->boundbox.yh << ","
- << "lo = " << pval->boundbox.xl << "," << pval->boundbox.yl << ")" << endl;
+ << "\tboundbox = (hi=" << pval->boundbox.high.x << "/" << pval->boundbox.high.y << ","
+ << "lo = " << pval->boundbox.low.x << "," << pval->boundbox.low.y << ")" << endl;
// Deallocate memory allocated for the Polygon structure
free(pval);
diff --git a/src/tutorial/basics.source b/src/tutorial/basics.source
index 20f9e42fd8..0273837753 100644
--- a/src/tutorial/basics.source
+++ b/src/tutorial/basics.source
@@ -23,7 +23,7 @@ CREATE TABLE weather (
temp_hi int, -- high temperature
prcp float8, -- precipitation
date date
-)
+);
CREATE TABLE cities (
name varchar(80),
@@ -40,7 +40,7 @@ CREATE TABLE cities (
-- the columns specified in CREATE TABLE.
INSERT INTO weather
- VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994')
+ VALUES ('San Francisco', 46, 50, 0.25, '11/27/1994');
INSERT INTO cities
VALUES ('San Francisco', '(-194.0, 53.0)');
@@ -50,7 +50,7 @@ INSERT INTO cities
-- eg. unknown precipitation below)
INSERT INTO weather (city, temp_lo, temp_hi, prcp, date)
- VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994')
+ VALUES ('San Francisco', 43, 57, 0.0, '11/29/1994');
INSERT INTO weather (date, city, temp_hi, temp_lo)
VALUES ('11/29/1994', 'Hayward', 54, 37);