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

Commitc98a6d7

Browse files
committed
doc: Fix typos
1 parentfeb270d commitc98a6d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎doc/src/sgml/ecpg.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,14 @@ EXEC SQL PREPARE <replaceable>statement-name</replaceable> FROM :<replaceable>dy
371371

372372
EXEC SQL BEGIN DECLARE SECTION;
373373
char dbname[128];
374-
char *dym_sql = "SELECT current_database()";
374+
char *dyn_sql = "SELECT current_database()";
375375
EXEC SQL END DECLARE SECTION;
376376

377377
int main(){
378378
EXEC SQL CONNECT TO postgres AS con1;
379379
EXEC SQL CONNECT TO testdb AS con2;
380380
EXEC SQL AT con1 DECLARE stmt STATEMENT;
381-
EXEC SQL PREPARE stmt FROM :dym_sql;
381+
EXEC SQL PREPARE stmt FROM :dyn_sql;
382382
EXEC SQL EXECUTE stmt INTO :dbname;
383383
printf("%s\n", dbname);
384384

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp