mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:03:03 +01:00
Style; comment unused code
This commit is contained in:
parent
6fcd8ccf60
commit
2230c2fbbb
@ -20,7 +20,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): ______________________________________.
|
* Contributor(s): ______________________________________.
|
||||||
*
|
*
|
||||||
* $Id: ddl.cpp,v 1.71 2003-10-19 23:03:19 brodsom Exp $
|
* $Id: ddl.cpp,v 1.72 2003-10-20 10:12:49 robocop Exp $
|
||||||
* 2001.5.20 Claudio Valderrama: Stop null pointer that leads to a crash,
|
* 2001.5.20 Claudio Valderrama: Stop null pointer that leads to a crash,
|
||||||
* caused by incomplete yacc syntax that allows ALTER DOMAIN dom SET;
|
* caused by incomplete yacc syntax that allows ALTER DOMAIN dom SET;
|
||||||
*
|
*
|
||||||
@ -2144,7 +2144,7 @@ static DSQL_NOD define_insert_action( DSQL_REQ request)
|
|||||||
*
|
*
|
||||||
**************************************/
|
**************************************/
|
||||||
DSQL_NOD select_node, select_expr, from_list;
|
DSQL_NOD select_node, select_expr, from_list;
|
||||||
DSQL_NOD fields_node, values_node, field_node, value_node;
|
DSQL_NOD fields_node, values_node, field_node;
|
||||||
DSQL_NOD *ptr, *end, *ptr2, *end2;
|
DSQL_NOD *ptr, *end, *ptr2, *end2;
|
||||||
DLLS field_stack, value_stack;
|
DLLS field_stack, value_stack;
|
||||||
DSQL_REL relation;
|
DSQL_REL relation;
|
||||||
@ -2224,7 +2224,7 @@ static DSQL_NOD define_insert_action( DSQL_REQ request)
|
|||||||
(DSQL_NOD) MAKE_cstring(TEMP_CONTEXT);
|
(DSQL_NOD) MAKE_cstring(TEMP_CONTEXT);
|
||||||
LLS_PUSH(field_node, &field_stack);
|
LLS_PUSH(field_node, &field_stack);
|
||||||
|
|
||||||
value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
DSQL_NOD value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
||||||
value_node->nod_arg[e_fln_name] = (*ptr2)->nod_arg[e_fln_name];
|
value_node->nod_arg[e_fln_name] = (*ptr2)->nod_arg[e_fln_name];
|
||||||
value_node->nod_arg[e_fln_context] =
|
value_node->nod_arg[e_fln_context] =
|
||||||
(DSQL_NOD) MAKE_cstring(NEW_CONTEXT);
|
(DSQL_NOD) MAKE_cstring(NEW_CONTEXT);
|
||||||
@ -3168,10 +3168,11 @@ static void define_update_action(
|
|||||||
field_node->nod_arg[e_fln_context] =
|
field_node->nod_arg[e_fln_context] =
|
||||||
(DSQL_NOD) MAKE_cstring(TEMP_CONTEXT);
|
(DSQL_NOD) MAKE_cstring(TEMP_CONTEXT);
|
||||||
|
|
||||||
DSQL_NOD value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
// CVC: This code serves no purpose.
|
||||||
value_node->nod_arg[e_fln_name] = (*ptr2)->nod_arg[e_fln_name];
|
//DSQL_NOD value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
||||||
value_node->nod_arg[e_fln_context] =
|
//value_node->nod_arg[e_fln_name] = (*ptr2)->nod_arg[e_fln_name];
|
||||||
(DSQL_NOD) MAKE_cstring(NEW_CONTEXT);
|
//value_node->nod_arg[e_fln_context] =
|
||||||
|
// (DSQL_NOD) MAKE_cstring(NEW_CONTEXT);
|
||||||
|
|
||||||
DSQL_NOD old_value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
DSQL_NOD old_value_node = MAKE_node(nod_field_name, (int) e_fln_count);
|
||||||
old_value_node->nod_arg[e_fln_name] =
|
old_value_node->nod_arg[e_fln_name] =
|
||||||
|
Loading…
Reference in New Issue
Block a user