diff options
author | Peter Eisentraut | 2016-05-04 18:07:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2016-05-04 18:08:49 +0000 |
commit | b94906f2d3222d56bf0935be565c2a94a84e858f (patch) | |
tree | 5e4f578f775bed151d54176bbaf3391a0e7c3a65 | |
parent | acf913480e2869949d9113444ff3073eab243855 (diff) |
doc: Fix more typos
From: Alexander Law <[email protected]>
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index b4031c42cf0..477a91c1793 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -6172,7 +6172,7 @@ cc -c test_mod.c -o test_mod.o <para> Next, generate <filename>test_cpp.o</> by compiling - <filename>test_cpp.cpp</> with the C++ compiler:. + <filename>test_cpp.cpp</> with the C++ compiler: <programlisting> c++ -c test_cpp.cpp -o test_cpp.o </programlisting> @@ -6278,9 +6278,9 @@ EXEC SQL ALLOCATE DESCRIPTOR mydesc; <refsynopsisdiv> <synopsis> -CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user_name</replaceable> ] +CONNECT TO <replaceable>connection_target</replaceable> [ AS <replaceable>connection_name</replaceable> ] [ USER <replaceable>connection_user</replaceable> ] CONNECT TO DEFAULT -CONNECT <replaceable>connection_user_name</replaceable> +CONNECT <replaceable>connection_user</replaceable> DATABASE <replaceable>connection_target</replaceable> </synopsis> </refsynopsisdiv> @@ -7812,7 +7812,7 @@ main(void) this mode is active, it tries to behave as if it were the <productname>Informix</productname> precompiler for <productname>Informix</productname> E/SQL. Generally spoken this will allow you to use the dollar sign instead of the <literal>EXEC SQL</> primitive to introduce - embedded SQL commands.: + embedded SQL commands: <programlisting> $int j = 3; $CONNECT TO :dbname; @@ -7884,7 +7884,7 @@ EXEC SQL FETCH MYCUR INTO :userid; <listitem> <para> This statement closes the current connection. In fact, this is a - synonym for ECPG's <literal>DISCONNECT CURRENT</>.: + synonym for ECPG's <literal>DISCONNECT CURRENT</>: <programlisting> $CLOSE DATABASE; /* close the current connection */ EXEC SQL CLOSE DATABASE; |