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

Commitd13fe29

Browse files
committed
I have a problem with Access97 not working properly when entering new
records using a sub form, i.e. entering a new order/orderlines or masteranddetail tables. The problem is caused by a SQL statement that Access97makesinvolving NULL. The syntax that fails is "column_name" = NULL. Thefollowing attachment was provided by -Jose'-. It contains a very smallenhancement to gram.y that will allow Access97 to work properly with subforms. Can this enhancement be added to release 6.5? <<gram.patch>>Thanks, Michael
1 parentfd80c10 commitd13fe29

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/backend/parser/gram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
*
243243
*
244244
* IDENTIFICATION
245-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.76 1999/03/07 03:34:06 momjian Exp $
245+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/gram.c,v 2.77 1999/03/14 05:14:59 momjian Exp $
246246
*
247247
* HISTORY
248248
* AUTHORDATEMAJOR EVENT

‎src/backend/parser/gram.y

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.58 1999/03/07 03:34:10 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.59 1999/03/14 05:15:08 momjian Exp $
1414
*
1515
* HISTORY
1616
* AUTHORDATEMAJOR EVENT
@@ -3702,6 +3702,8 @@ a_expr: attr opt_indirection
37023702
{$$ = makeA_Expr(OP, "<", $1, $3); }
37033703
| a_expr '>' a_expr
37043704
{$$ = makeA_Expr(OP, ">", $1, $3); }
3705+
| a_expr '=' NULL_P
3706+
{$$ = makeA_Expr(ISNULL, NULL, $1, NULL); }
37053707
| a_expr '=' a_expr
37063708
{$$ = makeA_Expr(OP, "=", $1, $3); }
37073709
| ':' a_expr

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp