mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fixing the indentation a bit
This commit is contained in:
parent
bbc5dce38e
commit
9c89e129b5
@ -71,7 +71,7 @@ ARGLIST(char **argv)
|
|||||||
long count[2], i = 0;
|
long count[2], i = 0;
|
||||||
ISC_STATUS_ARRAY Vector;
|
ISC_STATUS_ARRAY Vector;
|
||||||
char ids[2][15];
|
char ids[2][15];
|
||||||
int first = 1;
|
int first = 1;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
/* Transaction parameter block for read committed */
|
/* Transaction parameter block for read committed */
|
||||||
static char isc_tpb[5] = {isc_tpb_version1,
|
static char isc_tpb[5] = {isc_tpb_version1,
|
||||||
@ -81,7 +81,7 @@ ARGLIST(char **argv)
|
|||||||
isc_tpb_no_rec_version};
|
isc_tpb_no_rec_version};
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
strcpy(dbname, argv[1]);
|
strcpy(dbname, argv[1]);
|
||||||
else
|
else
|
||||||
strcpy(dbname, "employee.fdb");
|
strcpy(dbname, "employee.fdb");
|
||||||
|
|
||||||
|
|
||||||
@ -148,13 +148,13 @@ ARGLIST(char **argv)
|
|||||||
/* Check for first ast_call. isc_que_events fires
|
/* Check for first ast_call. isc_que_events fires
|
||||||
each event to get processing started */
|
each event to get processing started */
|
||||||
|
|
||||||
if ( first )
|
if ( first )
|
||||||
{
|
{
|
||||||
first = 0;
|
first = 0;
|
||||||
event_flag = 0;
|
event_flag = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
event_flag = 0;
|
event_flag = 0;
|
||||||
/* event_counts will compare the various events
|
/* event_counts will compare the various events
|
||||||
@ -191,19 +191,19 @@ ARGLIST(char **argv)
|
|||||||
/* Close cursor */
|
/* Close cursor */
|
||||||
isc_dsql_free_statement(status, &stmt, DSQL_close);
|
isc_dsql_free_statement(status, &stmt, DSQL_close);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Re-queue for the next event */
|
/* Re-queue for the next event */
|
||||||
|
|
||||||
if (isc_que_events(status, &DB, &event_id, length,
|
if (isc_que_events(status, &DB, &event_id, length,
|
||||||
event_buffer, ast_routine, result_buffer))
|
event_buffer, ast_routine, result_buffer))
|
||||||
{ERREXIT(status, 1)};
|
{ERREXIT(status, 1)};
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This does not block, but as a sample program there is nothing
|
/* This does not block, but as a sample program there is nothing
|
||||||
** else for us to do, so we will take a nap
|
** else for us to do, so we will take a nap
|
||||||
*/
|
*/
|
||||||
SLEEP(1);
|
SLEEP(1);
|
||||||
}
|
}
|
||||||
isc_commit_transaction(status, &trans);
|
isc_commit_transaction(status, &trans);
|
||||||
|
|
||||||
@ -236,3 +236,4 @@ ARGLIST(USHORT length)
|
|||||||
while (length--)
|
while (length--)
|
||||||
*(UCHAR*)result++ = *updated++;
|
*(UCHAR*)result++ = *updated++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user