mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
-Style
This commit is contained in:
parent
9365a01b34
commit
aa111a0f89
@ -24,7 +24,7 @@
|
|||||||
* 2003.08.17 Claudio Valderrama: Fix SF Bug #750659.
|
* 2003.08.17 Claudio Valderrama: Fix SF Bug #750659.
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
$Id: restore.epp,v 1.42 2003-09-12 23:25:16 brodsom Exp $
|
$Id: restore.epp,v 1.43 2003-09-15 01:50:15 brodsom Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -5273,9 +5273,10 @@ bool is_ascii_name (const TEXT *name, const SSHORT len)
|
|||||||
**************************************/
|
**************************************/
|
||||||
SSHORT i = 0;
|
SSHORT i = 0;
|
||||||
|
|
||||||
while (i < len && ( (name[i] >= 'A' && name[i] <= 'Z') ||
|
while (i < len &&
|
||||||
(name[i] >= '0' && name[i] <= '9') ||
|
( (name[i] >= 'A' && name[i] <= 'Z') ||
|
||||||
name[i] == '_' || name[i] == '$' ) )
|
(name[i] >= '0' && name[i] <= '9') ||
|
||||||
|
name[i] == '_' || name[i] == '$' ) )
|
||||||
{
|
{
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
@ -6336,7 +6337,7 @@ rec_type ignore_data (
|
|||||||
if (get(tdgbl) != att_data_data)
|
if (get(tdgbl) != att_data_data)
|
||||||
BURP_error_redirect (NULL, 41, 0, 0);
|
BURP_error_redirect (NULL, 41, 0, 0);
|
||||||
/* msg 41 expected data attribute */
|
/* msg 41 expected data attribute */
|
||||||
if (l){
|
if (l) {
|
||||||
if (tdgbl->gbl_sw_compress)
|
if (tdgbl->gbl_sw_compress)
|
||||||
{
|
{
|
||||||
UCHAR *buffer = (UCHAR*) BURP_ALLOC (l);
|
UCHAR *buffer = (UCHAR*) BURP_ALLOC (l);
|
||||||
@ -6964,14 +6965,14 @@ void store_blr_gen_id (
|
|||||||
SSHORT blr_length = blr - blr_buffer;
|
SSHORT blr_length = blr - blr_buffer;
|
||||||
|
|
||||||
if (isc_compile_request (status_vector, &tdgbl->db_handle, &gen_id_reqh,
|
if (isc_compile_request (status_vector, &tdgbl->db_handle, &gen_id_reqh,
|
||||||
blr_length,(SCHAR*) blr_buffer))
|
blr_length, (SCHAR*) blr_buffer))
|
||||||
{
|
{
|
||||||
isc_print_blr ((SCHAR*) blr_buffer, NULL, NULL, 0);
|
isc_print_blr ((SCHAR*) blr_buffer, NULL, NULL, 0);
|
||||||
BURP_error_redirect (status_vector, 42, 0, 0);
|
BURP_error_redirect (status_vector, 42, 0, 0);
|
||||||
/* msg 42 Failed in store_blr_gen_id */
|
/* msg 42 Failed in store_blr_gen_id */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isc_start_request (status_vector,&gen_id_reqh,
|
if (isc_start_request (status_vector, &gen_id_reqh,
|
||||||
&gds_trans, /* use the same one generated by gpre */
|
&gds_trans, /* use the same one generated by gpre */
|
||||||
0))
|
0))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user