Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2b8ff694
Commit
2b8ff694
authored
Apr 04, 2005
by
serg@sergbook.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete isam/merge files
parent
52770e86
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
573 deletions
+0
-573
config/ac-macros/ha_isam.m4
config/ac-macros/ha_isam.m4
+0
-15
include/merge.h
include/merge.h
+0
-93
include/nisam.h
include/nisam.h
+0
-212
mysql-test/include/have_isam.inc
mysql-test/include/have_isam.inc
+0
-4
mysql-test/r/have_isam.require
mysql-test/r/have_isam.require
+0
-2
mysql-test/t/isam.test
mysql-test/t/isam.test
+0
-247
No files found.
config/ac-macros/ha_isam.m4
deleted
100644 → 0
View file @
52770e86
AC_DEFUN([MYSQL_CHECK_ISAM], [
AC_ARG_WITH([isam], [
--with-isam Enable the ISAM table type],
[with_isam="$withval"],
[with_isam=no])
isam_libs=
if test X"$with_isam" = X"yes"
then
AC_DEFINE([HAVE_ISAM], [1], [Using old ISAM tables])
isam_libs="\$(top_builddir)/isam/libnisam.a\
\$(top_builddir)/merge/libmerge.a"
fi
AC_SUBST(isam_libs)
])
include/merge.h
deleted
100644 → 0
View file @
52770e86
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* This file should be included when using merge_isam_funktions */
/* Author: Michael Widenius */
#ifndef _merge_h
#define _merge_h
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef _my_base_h
#include <my_base.h>
#endif
#ifndef _nisam_h
#include <nisam.h>
#endif
#define MRG_NAME_EXT ".MRG"
/* Param to/from mrg_info */
typedef
struct
st_mrg_info
/* Struct from h_info */
{
ulonglong
records
;
/* Records in database */
ulonglong
deleted
;
/* Deleted records in database */
ulonglong
recpos
;
/* Pos for last used record */
ulonglong
data_file_length
;
uint
reclength
;
/* Recordlength */
int
errkey
;
/* With key was dupplicated on err */
uint
options
;
/* HA_OPTION_... used */
}
MERGE_INFO
;
typedef
struct
st_mrg_table_info
{
N_INFO
*
table
;
ulonglong
file_offset
;
}
MRG_TABLE
;
typedef
struct
st_merge
{
MRG_TABLE
*
open_tables
,
*
current_table
,
*
end_table
,
*
last_used_table
;
ulonglong
records
;
/* records in tables */
ulonglong
del
;
/* Removed records */
ulonglong
data_file_length
;
uint
tables
,
options
,
reclength
;
my_bool
cache_in_use
;
LIST
open_list
;
}
MRG_INFO
;
typedef
ulong
mrg_off_t
;
/* Prototypes for merge-functions */
extern
int
mrg_close
(
MRG_INFO
*
file
);
extern
int
mrg_delete
(
MRG_INFO
*
file
,
const
byte
*
buff
);
extern
MRG_INFO
*
mrg_open
(
const
char
*
name
,
int
mode
,
int
wait_if_locked
);
extern
int
mrg_panic
(
enum
ha_panic_function
function
);
extern
int
mrg_rfirst
(
MRG_INFO
*
file
,
byte
*
buf
,
int
inx
);
extern
int
mrg_rkey
(
MRG_INFO
*
file
,
byte
*
buf
,
int
inx
,
const
byte
*
key
,
uint
key_len
,
enum
ha_rkey_function
search_flag
);
extern
int
mrg_rrnd
(
MRG_INFO
*
file
,
byte
*
buf
,
mrg_off_t
pos
);
extern
int
mrg_rsame
(
MRG_INFO
*
file
,
byte
*
record
,
int
inx
);
extern
int
mrg_update
(
MRG_INFO
*
file
,
const
byte
*
old
,
const
byte
*
new_rec
);
extern
int
mrg_info
(
MRG_INFO
*
file
,
MERGE_INFO
*
x
,
int
flag
);
extern
int
mrg_lock_database
(
MRG_INFO
*
file
,
int
lock_type
);
extern
int
mrg_create
(
const
char
*
name
,
const
char
**
table_names
);
extern
int
mrg_extra
(
MRG_INFO
*
file
,
enum
ha_extra_function
function
);
extern
ha_rows
mrg_records_in_range
(
MRG_INFO
*
info
,
int
inx
,
const
byte
*
start_key
,
uint
start_key_len
,
enum
ha_rkey_function
start_search_flag
,
const
byte
*
end_key
,
uint
end_key_len
,
enum
ha_rkey_function
end_search_flag
);
extern
mrg_off_t
mrg_position
(
MRG_INFO
*
info
);
#ifdef __cplusplus
}
#endif
#endif
include/nisam.h
deleted
100644 → 0
View file @
52770e86
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* This file should be included when using nisam_funktions */
/* Author: Michael Widenius */
#ifndef _nisam_h
#define _nisam_h
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef _my_base_h
#include <my_base.h>
#endif
/* defines used by nisam-funktions */
#define N_MAXKEY 16
/* Max allowed keys */
#define N_MAXKEY_SEG 16
/* Max segments for key */
#define N_MAX_KEY_LENGTH 256
/* May be increased up to 500 */
#define N_MAX_KEY_BUFF (N_MAX_KEY_LENGTH+N_MAXKEY_SEG+sizeof(double)-1)
#define N_MAX_POSSIBLE_KEY_BUFF 500+9
#define N_NAME_IEXT ".ISM"
#define N_NAME_DEXT ".ISD"
#define NI_POS_ERROR (~ (ulong) 0)
/* Param to/from nisam_info */
typedef
struct
st_n_isaminfo
/* Struct from h_info */
{
ulong
records
;
/* Records in database */
ulong
deleted
;
/* Deleted records in database */
ulong
recpos
;
/* Pos for last used record */
ulong
newrecpos
;
/* Pos if we write new record */
ulong
dupp_key_pos
;
/* Position to record with dupp key */
ulong
data_file_length
,
/* Length of data file */
max_data_file_length
,
index_file_length
,
max_index_file_length
,
delete_length
;
uint
reclength
;
/* Recordlength */
uint
mean_reclength
;
/* Mean recordlength (if packed) */
uint
keys
;
/* How many keys used */
uint
options
;
/* HA_OPTION_... used */
int
errkey
,
/* With key was dupplicated on err */
sortkey
;
/* clustered by this key */
File
filenr
;
/* (uniq) filenr for datafile */
time_t
create_time
;
/* When table was created */
time_t
isamchk_time
;
time_t
update_time
;
ulong
*
rec_per_key
;
/* for sql optimizing */
}
N_ISAMINFO
;
/* Info saved on file for each info-part */
#ifdef __WATCOMC__
#pragma pack(2)
#define uint uint16
/* Same format as in MSDOS */
#endif
#ifdef __ZTC__
#pragma ZTC align 2
#define uint uint16
/* Same format as in MSDOS */
#endif
typedef
struct
st_n_save_keyseg
/* Key-portion */
{
uint8
type
;
/* Typ av nyckel (f|r sort) */
uint8
flag
;
/* HA_DIFF_LENGTH */
uint16
start
;
/* Start of key in record */
uint16
length
;
/* Keylength */
}
N_SAVE_KEYSEG
;
typedef
struct
st_n_save_keydef
/* Key definition with create & info */
{
uint8
flag
;
/* NOSAME, PACK_USED */
uint8
keysegs
;
/* Number of key-segment */
uint16
block_length
;
/* Length of keyblock (auto) */
uint16
keylength
;
/* Tot length of keyparts (auto) */
uint16
minlength
;
/* min length of (packed) key (auto) */
uint16
maxlength
;
/* max length of (packed) key (auto) */
}
N_SAVE_KEYDEF
;
typedef
struct
st_n_save_recinfo
/* Info of record */
{
int16
type
;
/* en_fieldtype */
uint16
length
;
/* length of field */
}
N_SAVE_RECINFO
;
#ifdef __ZTC__
#pragma ZTC align
#undef uint
#endif
#ifdef __WATCOMC__
#pragma pack()
#undef uint
#endif
struct
st_isam_info
;
/* For referense */
#ifndef ISAM_LIBRARY
typedef
struct
st_isam_info
N_INFO
;
#endif
typedef
struct
st_n_keyseg
/* Key-portion */
{
N_SAVE_KEYSEG
base
;
}
N_KEYSEG
;
typedef
struct
st_n_keydef
/* Key definition with open & info */
{
N_SAVE_KEYDEF
base
;
N_KEYSEG
seg
[
N_MAXKEY_SEG
+
1
];
int
(
*
bin_search
)(
struct
st_isam_info
*
info
,
struct
st_n_keydef
*
keyinfo
,
uchar
*
page
,
uchar
*
key
,
uint
key_len
,
uint
comp_flag
,
uchar
*
*
ret_pos
,
uchar
*
buff
);
uint
(
*
get_key
)(
struct
st_n_keydef
*
keyinfo
,
uint
nod_flag
,
uchar
*
*
page
,
uchar
*
key
);
}
N_KEYDEF
;
typedef
struct
st_decode_tree
/* Decode huff-table */
{
uint16
*
table
;
uint
quick_table_bits
;
byte
*
intervalls
;
}
DECODE_TREE
;
struct
st_bit_buff
;
typedef
struct
st_n_recinfo
/* Info of record */
{
N_SAVE_RECINFO
base
;
#ifndef NOT_PACKED_DATABASES
void
(
*
unpack
)(
struct
st_n_recinfo
*
rec
,
struct
st_bit_buff
*
buff
,
uchar
*
start
,
uchar
*
end
);
enum
en_fieldtype
base_type
;
uint
space_length_bits
,
pack_type
;
DECODE_TREE
*
huff_tree
;
#endif
}
N_RECINFO
;
extern
my_string
nisam_log_filename
;
/* Name of logfile */
extern
uint
nisam_block_size
;
extern
my_bool
nisam_flush
;
/* Prototypes for nisam-functions */
extern
int
nisam_close
(
struct
st_isam_info
*
file
);
extern
int
nisam_delete
(
struct
st_isam_info
*
file
,
const
byte
*
buff
);
extern
struct
st_isam_info
*
nisam_open
(
const
char
*
name
,
int
mode
,
uint
wait_if_locked
);
extern
int
nisam_panic
(
enum
ha_panic_function
function
);
extern
int
nisam_rfirst
(
struct
st_isam_info
*
file
,
byte
*
buf
,
int
inx
);
extern
int
nisam_rkey
(
struct
st_isam_info
*
file
,
byte
*
buf
,
int
inx
,
const
byte
*
key
,
uint
key_len
,
enum
ha_rkey_function
search_flag
);
extern
int
nisam_rlast
(
struct
st_isam_info
*
file
,
byte
*
buf
,
int
inx
);
extern
int
nisam_rnext
(
struct
st_isam_info
*
file
,
byte
*
buf
,
int
inx
);
extern
int
nisam_rprev
(
struct
st_isam_info
*
file
,
byte
*
buf
,
int
inx
);
extern
int
nisam_rrnd
(
struct
st_isam_info
*
file
,
byte
*
buf
,
ulong
pos
);
extern
int
nisam_rsame
(
struct
st_isam_info
*
file
,
byte
*
record
,
int
inx
);
extern
int
nisam_rsame_with_pos
(
struct
st_isam_info
*
file
,
byte
*
record
,
int
inx
,
ulong
pos
);
extern
int
nisam_update
(
struct
st_isam_info
*
file
,
const
byte
*
old
,
const
byte
*
new_record
);
extern
int
nisam_write
(
struct
st_isam_info
*
file
,
const
byte
*
buff
);
extern
int
nisam_info
(
struct
st_isam_info
*
file
,
N_ISAMINFO
*
x
,
int
flag
);
extern
ulong
nisam_position
(
struct
st_isam_info
*
info
);
extern
int
nisam_lock_database
(
struct
st_isam_info
*
file
,
int
lock_type
);
extern
int
nisam_create
(
const
char
*
name
,
uint
keys
,
N_KEYDEF
*
keyinfo
,
N_RECINFO
*
recinfo
,
ulong
records
,
ulong
reloc
,
uint
flags
,
uint
options
,
ulong
data_file_length
);
extern
int
nisam_extra
(
struct
st_isam_info
*
file
,
enum
ha_extra_function
function
);
extern
ulong
nisam_records_in_range
(
struct
st_isam_info
*
info
,
int
inx
,
const
byte
*
start_key
,
uint
start_key_len
,
enum
ha_rkey_function
start_search_flag
,
const
byte
*
end_key
,
uint
end_key_len
,
enum
ha_rkey_function
end_search_flag
);
extern
int
nisam_log
(
int
activate_log
);
extern
int
nisam_is_changed
(
struct
st_isam_info
*
info
);
extern
uint
_calc_blob_length
(
uint
length
,
const
byte
*
pos
);
#ifdef __cplusplus
}
#endif
#endif
mysql-test/include/have_isam.inc
deleted
100644 → 0
View file @
52770e86
--
require
r
/
have_isam
.
require
disable_query_log
;
show
variables
like
"have_isam"
;
enable_query_log
;
mysql-test/r/have_isam.require
deleted
100644 → 0
View file @
52770e86
Variable_name Value
have_isam YES
mysql-test/t/isam.test
deleted
100644 → 0
View file @
52770e86
--
source
include
/
have_isam
.
inc
--
disable_warnings
drop
table
if
exists
t1
,
t2
;
--
enable_warnings
#
# Test possible problem with rows that are about 65535 bytes long
#
create
table
t1
(
a
tinyint
not
null
auto_increment
,
b
blob
not
null
,
primary
key
(
a
))
engine
=
isam
;
let
$
1
=
100
;
disable_query_log
;
--
disable_warnings
while
(
$
1
)
{
eval
insert
into
t1
(
b
)
values
(
repeat
(
char
(
65
+
$
1
),
65540
-
$
1
));
dec
$
1
;
}
enable_query_log
;
--
enable_warnings
delete
from
t1
where
(
a
&
1
);
select
sum
(
length
(
b
))
from
t1
;
drop
table
t1
;
#
# Test of auto_increment; The test for BDB tables is in bdb.test
#
create
table
t1
(
a
int
not
null
auto_increment
,
b
int
,
primary
key
(
a
))
engine
=
isam
;
insert
into
t1
values
(
1
,
1
),(
NULL
,
2
),(
3
,
3
),(
NULL
,
4
);
delete
from
t1
where
a
=
4
or
a
=
2
;
insert
into
t1
values
(
NULL
,
4
),(
NULL
,
5
),(
6
,
6
);
select
*
from
t1
;
delete
from
t1
where
a
=
6
;
#show table status like "t1";
replace
t1
values
(
3
,
1
);
replace
t1
values
(
3
,
3
);
ALTER
TABLE
t1
add
c
int
;
insert
into
t1
values
(
NULL
,
6
,
6
);
select
*
from
t1
;
drop
table
t1
;
#
# Test of some CREATE TABLE's that should fail
#
--
error
1121
create
table
t1
(
a
int
,
b
text
,
index
(
a
))
engine
=
isam
;
--
error
1073
create
table
t1
(
a
int
,
b
text
,
index
(
b
))
engine
=
isam
;
--
error
1075
create
table
t1
(
ordid
int
(
8
)
not
null
auto_increment
,
ord
varchar
(
50
)
not
null
,
primary
key
(
ord
,
ordid
))
engine
=
isam
;
--
error
1121
create
table
t1
(
ordid
int
(
8
),
unique
(
ordid
))
engine
=
isam
;
drop
table
if
exists
t1
;
#
# Test of some show commands
#
create
table
t1
(
a
int
not
null
primary
key
,
b
int
not
null
,
c
int
not
null
,
key
(
b
,
c
));
insert
into
t1
values
(
1
,
2
,
2
),(
2
,
2
,
3
),(
3
,
2
,
4
),(
4
,
2
,
4
);
create
table
t2
engine
=
isam
select
*
from
t1
;
optimize
table
t1
;
check
table
t1
,
t2
;
repair
table
t1
,
t2
;
check
table
t2
,
t1
;
lock
tables
t1
write
;
check
table
t2
,
t1
;
show
columns
from
t1
;
show
full
columns
from
t1
;
show
index
from
t1
;
drop
table
t1
,
t2
;
#
# test of table with huge number of packed fields
#
create
table
t1
(
i1
int
,
i2
int
,
i3
int
,
i4
int
,
i5
int
,
i6
int
,
i7
int
,
i8
int
,
i9
int
,
i10
int
,
i11
int
,
i12
int
,
i13
int
,
i14
int
,
i15
int
,
i16
int
,
i17
int
,
i18
int
,
i19
int
,
i20
int
,
i21
int
,
i22
int
,
i23
int
,
i24
int
,
i25
int
,
i26
int
,
i27
int
,
i28
int
,
i29
int
,
i30
int
,
i31
int
,
i32
int
,
i33
int
,
i34
int
,
i35
int
,
i36
int
,
i37
int
,
i38
int
,
i39
int
,
i40
int
,
i41
int
,
i42
int
,
i43
int
,
i44
int
,
i45
int
,
i46
int
,
i47
int
,
i48
int
,
i49
int
,
i50
int
,
i51
int
,
i52
int
,
i53
int
,
i54
int
,
i55
int
,
i56
int
,
i57
int
,
i58
int
,
i59
int
,
i60
int
,
i61
int
,
i62
int
,
i63
int
,
i64
int
,
i65
int
,
i66
int
,
i67
int
,
i68
int
,
i69
int
,
i70
int
,
i71
int
,
i72
int
,
i73
int
,
i74
int
,
i75
int
,
i76
int
,
i77
int
,
i78
int
,
i79
int
,
i80
int
,
i81
int
,
i82
int
,
i83
int
,
i84
int
,
i85
int
,
i86
int
,
i87
int
,
i88
int
,
i89
int
,
i90
int
,
i91
int
,
i92
int
,
i93
int
,
i94
int
,
i95
int
,
i96
int
,
i97
int
,
i98
int
,
i99
int
,
i100
int
,
i101
int
,
i102
int
,
i103
int
,
i104
int
,
i105
int
,
i106
int
,
i107
int
,
i108
int
,
i109
int
,
i110
int
,
i111
int
,
i112
int
,
i113
int
,
i114
int
,
i115
int
,
i116
int
,
i117
int
,
i118
int
,
i119
int
,
i120
int
,
i121
int
,
i122
int
,
i123
int
,
i124
int
,
i125
int
,
i126
int
,
i127
int
,
i128
int
,
i129
int
,
i130
int
,
i131
int
,
i132
int
,
i133
int
,
i134
int
,
i135
int
,
i136
int
,
i137
int
,
i138
int
,
i139
int
,
i140
int
,
i141
int
,
i142
int
,
i143
int
,
i144
int
,
i145
int
,
i146
int
,
i147
int
,
i148
int
,
i149
int
,
i150
int
,
i151
int
,
i152
int
,
i153
int
,
i154
int
,
i155
int
,
i156
int
,
i157
int
,
i158
int
,
i159
int
,
i160
int
,
i161
int
,
i162
int
,
i163
int
,
i164
int
,
i165
int
,
i166
int
,
i167
int
,
i168
int
,
i169
int
,
i170
int
,
i171
int
,
i172
int
,
i173
int
,
i174
int
,
i175
int
,
i176
int
,
i177
int
,
i178
int
,
i179
int
,
i180
int
,
i181
int
,
i182
int
,
i183
int
,
i184
int
,
i185
int
,
i186
int
,
i187
int
,
i188
int
,
i189
int
,
i190
int
,
i191
int
,
i192
int
,
i193
int
,
i194
int
,
i195
int
,
i196
int
,
i197
int
,
i198
int
,
i199
int
,
i200
int
,
i201
int
,
i202
int
,
i203
int
,
i204
int
,
i205
int
,
i206
int
,
i207
int
,
i208
int
,
i209
int
,
i210
int
,
i211
int
,
i212
int
,
i213
int
,
i214
int
,
i215
int
,
i216
int
,
i217
int
,
i218
int
,
i219
int
,
i220
int
,
i221
int
,
i222
int
,
i223
int
,
i224
int
,
i225
int
,
i226
int
,
i227
int
,
i228
int
,
i229
int
,
i230
int
,
i231
int
,
i232
int
,
i233
int
,
i234
int
,
i235
int
,
i236
int
,
i237
int
,
i238
int
,
i239
int
,
i240
int
,
i241
int
,
i242
int
,
i243
int
,
i244
int
,
i245
int
,
i246
int
,
i247
int
,
i248
int
,
i249
int
,
i250
int
,
i251
int
,
i252
int
,
i253
int
,
i254
int
,
i255
int
,
i256
int
,
i257
int
,
i258
int
,
i259
int
,
i260
int
,
i261
int
,
i262
int
,
i263
int
,
i264
int
,
i265
int
,
i266
int
,
i267
int
,
i268
int
,
i269
int
,
i270
int
,
i271
int
,
i272
int
,
i273
int
,
i274
int
,
i275
int
,
i276
int
,
i277
int
,
i278
int
,
i279
int
,
i280
int
,
i281
int
,
i282
int
,
i283
int
,
i284
int
,
i285
int
,
i286
int
,
i287
int
,
i288
int
,
i289
int
,
i290
int
,
i291
int
,
i292
int
,
i293
int
,
i294
int
,
i295
int
,
i296
int
,
i297
int
,
i298
int
,
i299
int
,
i300
int
,
i301
int
,
i302
int
,
i303
int
,
i304
int
,
i305
int
,
i306
int
,
i307
int
,
i308
int
,
i309
int
,
i310
int
,
i311
int
,
i312
int
,
i313
int
,
i314
int
,
i315
int
,
i316
int
,
i317
int
,
i318
int
,
i319
int
,
i320
int
,
i321
int
,
i322
int
,
i323
int
,
i324
int
,
i325
int
,
i326
int
,
i327
int
,
i328
int
,
i329
int
,
i330
int
,
i331
int
,
i332
int
,
i333
int
,
i334
int
,
i335
int
,
i336
int
,
i337
int
,
i338
int
,
i339
int
,
i340
int
,
i341
int
,
i342
int
,
i343
int
,
i344
int
,
i345
int
,
i346
int
,
i347
int
,
i348
int
,
i349
int
,
i350
int
,
i351
int
,
i352
int
,
i353
int
,
i354
int
,
i355
int
,
i356
int
,
i357
int
,
i358
int
,
i359
int
,
i360
int
,
i361
int
,
i362
int
,
i363
int
,
i364
int
,
i365
int
,
i366
int
,
i367
int
,
i368
int
,
i369
int
,
i370
int
,
i371
int
,
i372
int
,
i373
int
,
i374
int
,
i375
int
,
i376
int
,
i377
int
,
i378
int
,
i379
int
,
i380
int
,
i381
int
,
i382
int
,
i383
int
,
i384
int
,
i385
int
,
i386
int
,
i387
int
,
i388
int
,
i389
int
,
i390
int
,
i391
int
,
i392
int
,
i393
int
,
i394
int
,
i395
int
,
i396
int
,
i397
int
,
i398
int
,
i399
int
,
i400
int
,
i401
int
,
i402
int
,
i403
int
,
i404
int
,
i405
int
,
i406
int
,
i407
int
,
i408
int
,
i409
int
,
i410
int
,
i411
int
,
i412
int
,
i413
int
,
i414
int
,
i415
int
,
i416
int
,
i417
int
,
i418
int
,
i419
int
,
i420
int
,
i421
int
,
i422
int
,
i423
int
,
i424
int
,
i425
int
,
i426
int
,
i427
int
,
i428
int
,
i429
int
,
i430
int
,
i431
int
,
i432
int
,
i433
int
,
i434
int
,
i435
int
,
i436
int
,
i437
int
,
i438
int
,
i439
int
,
i440
int
,
i441
int
,
i442
int
,
i443
int
,
i444
int
,
i445
int
,
i446
int
,
i447
int
,
i448
int
,
i449
int
,
i450
int
,
i451
int
,
i452
int
,
i453
int
,
i454
int
,
i455
int
,
i456
int
,
i457
int
,
i458
int
,
i459
int
,
i460
int
,
i461
int
,
i462
int
,
i463
int
,
i464
int
,
i465
int
,
i466
int
,
i467
int
,
i468
int
,
i469
int
,
i470
int
,
i471
int
,
i472
int
,
i473
int
,
i474
int
,
i475
int
,
i476
int
,
i477
int
,
i478
int
,
i479
int
,
i480
int
,
i481
int
,
i482
int
,
i483
int
,
i484
int
,
i485
int
,
i486
int
,
i487
int
,
i488
int
,
i489
int
,
i490
int
,
i491
int
,
i492
int
,
i493
int
,
i494
int
,
i495
int
,
i496
int
,
i497
int
,
i498
int
,
i499
int
,
i500
int
,
i501
int
,
i502
int
,
i503
int
,
i504
int
,
i505
int
,
i506
int
,
i507
int
,
i508
int
,
i509
int
,
i510
int
,
i511
int
,
i512
int
,
i513
int
,
i514
int
,
i515
int
,
i516
int
,
i517
int
,
i518
int
,
i519
int
,
i520
int
,
i521
int
,
i522
int
,
i523
int
,
i524
int
,
i525
int
,
i526
int
,
i527
int
,
i528
int
,
i529
int
,
i530
int
,
i531
int
,
i532
int
,
i533
int
,
i534
int
,
i535
int
,
i536
int
,
i537
int
,
i538
int
,
i539
int
,
i540
int
,
i541
int
,
i542
int
,
i543
int
,
i544
int
,
i545
int
,
i546
int
,
i547
int
,
i548
int
,
i549
int
,
i550
int
,
i551
int
,
i552
int
,
i553
int
,
i554
int
,
i555
int
,
i556
int
,
i557
int
,
i558
int
,
i559
int
,
i560
int
,
i561
int
,
i562
int
,
i563
int
,
i564
int
,
i565
int
,
i566
int
,
i567
int
,
i568
int
,
i569
int
,
i570
int
,
i571
int
,
i572
int
,
i573
int
,
i574
int
,
i575
int
,
i576
int
,
i577
int
,
i578
int
,
i579
int
,
i580
int
,
i581
int
,
i582
int
,
i583
int
,
i584
int
,
i585
int
,
i586
int
,
i587
int
,
i588
int
,
i589
int
,
i590
int
,
i591
int
,
i592
int
,
i593
int
,
i594
int
,
i595
int
,
i596
int
,
i597
int
,
i598
int
,
i599
int
,
i600
int
,
i601
int
,
i602
int
,
i603
int
,
i604
int
,
i605
int
,
i606
int
,
i607
int
,
i608
int
,
i609
int
,
i610
int
,
i611
int
,
i612
int
,
i613
int
,
i614
int
,
i615
int
,
i616
int
,
i617
int
,
i618
int
,
i619
int
,
i620
int
,
i621
int
,
i622
int
,
i623
int
,
i624
int
,
i625
int
,
i626
int
,
i627
int
,
i628
int
,
i629
int
,
i630
int
,
i631
int
,
i632
int
,
i633
int
,
i634
int
,
i635
int
,
i636
int
,
i637
int
,
i638
int
,
i639
int
,
i640
int
,
i641
int
,
i642
int
,
i643
int
,
i644
int
,
i645
int
,
i646
int
,
i647
int
,
i648
int
,
i649
int
,
i650
int
,
i651
int
,
i652
int
,
i653
int
,
i654
int
,
i655
int
,
i656
int
,
i657
int
,
i658
int
,
i659
int
,
i660
int
,
i661
int
,
i662
int
,
i663
int
,
i664
int
,
i665
int
,
i666
int
,
i667
int
,
i668
int
,
i669
int
,
i670
int
,
i671
int
,
i672
int
,
i673
int
,
i674
int
,
i675
int
,
i676
int
,
i677
int
,
i678
int
,
i679
int
,
i680
int
,
i681
int
,
i682
int
,
i683
int
,
i684
int
,
i685
int
,
i686
int
,
i687
int
,
i688
int
,
i689
int
,
i690
int
,
i691
int
,
i692
int
,
i693
int
,
i694
int
,
i695
int
,
i696
int
,
i697
int
,
i698
int
,
i699
int
,
i700
int
,
i701
int
,
i702
int
,
i703
int
,
i704
int
,
i705
int
,
i706
int
,
i707
int
,
i708
int
,
i709
int
,
i710
int
,
i711
int
,
i712
int
,
i713
int
,
i714
int
,
i715
int
,
i716
int
,
i717
int
,
i718
int
,
i719
int
,
i720
int
,
i721
int
,
i722
int
,
i723
int
,
i724
int
,
i725
int
,
i726
int
,
i727
int
,
i728
int
,
i729
int
,
i730
int
,
i731
int
,
i732
int
,
i733
int
,
i734
int
,
i735
int
,
i736
int
,
i737
int
,
i738
int
,
i739
int
,
i740
int
,
i741
int
,
i742
int
,
i743
int
,
i744
int
,
i745
int
,
i746
int
,
i747
int
,
i748
int
,
i749
int
,
i750
int
,
i751
int
,
i752
int
,
i753
int
,
i754
int
,
i755
int
,
i756
int
,
i757
int
,
i758
int
,
i759
int
,
i760
int
,
i761
int
,
i762
int
,
i763
int
,
i764
int
,
i765
int
,
i766
int
,
i767
int
,
i768
int
,
i769
int
,
i770
int
,
i771
int
,
i772
int
,
i773
int
,
i774
int
,
i775
int
,
i776
int
,
i777
int
,
i778
int
,
i779
int
,
i780
int
,
i781
int
,
i782
int
,
i783
int
,
i784
int
,
i785
int
,
i786
int
,
i787
int
,
i788
int
,
i789
int
,
i790
int
,
i791
int
,
i792
int
,
i793
int
,
i794
int
,
i795
int
,
i796
int
,
i797
int
,
i798
int
,
i799
int
,
i800
int
,
i801
int
,
i802
int
,
i803
int
,
i804
int
,
i805
int
,
i806
int
,
i807
int
,
i808
int
,
i809
int
,
i810
int
,
i811
int
,
i812
int
,
i813
int
,
i814
int
,
i815
int
,
i816
int
,
i817
int
,
i818
int
,
i819
int
,
i820
int
,
i821
int
,
i822
int
,
i823
int
,
i824
int
,
i825
int
,
i826
int
,
i827
int
,
i828
int
,
i829
int
,
i830
int
,
i831
int
,
i832
int
,
i833
int
,
i834
int
,
i835
int
,
i836
int
,
i837
int
,
i838
int
,
i839
int
,
i840
int
,
i841
int
,
i842
int
,
i843
int
,
i844
int
,
i845
int
,
i846
int
,
i847
int
,
i848
int
,
i849
int
,
i850
int
,
i851
int
,
i852
int
,
i853
int
,
i854
int
,
i855
int
,
i856
int
,
i857
int
,
i858
int
,
i859
int
,
i860
int
,
i861
int
,
i862
int
,
i863
int
,
i864
int
,
i865
int
,
i866
int
,
i867
int
,
i868
int
,
i869
int
,
i870
int
,
i871
int
,
i872
int
,
i873
int
,
i874
int
,
i875
int
,
i876
int
,
i877
int
,
i878
int
,
i879
int
,
i880
int
,
i881
int
,
i882
int
,
i883
int
,
i884
int
,
i885
int
,
i886
int
,
i887
int
,
i888
int
,
i889
int
,
i890
int
,
i891
int
,
i892
int
,
i893
int
,
i894
int
,
i895
int
,
i896
int
,
i897
int
,
i898
int
,
i899
int
,
i900
int
,
i901
int
,
i902
int
,
i903
int
,
i904
int
,
i905
int
,
i906
int
,
i907
int
,
i908
int
,
i909
int
,
i910
int
,
i911
int
,
i912
int
,
i913
int
,
i914
int
,
i915
int
,
i916
int
,
i917
int
,
i918
int
,
i919
int
,
i920
int
,
i921
int
,
i922
int
,
i923
int
,
i924
int
,
i925
int
,
i926
int
,
i927
int
,
i928
int
,
i929
int
,
i930
int
,
i931
int
,
i932
int
,
i933
int
,
i934
int
,
i935
int
,
i936
int
,
i937
int
,
i938
int
,
i939
int
,
i940
int
,
i941
int
,
i942
int
,
i943
int
,
i944
int
,
i945
int
,
i946
int
,
i947
int
,
i948
int
,
i949
int
,
i950
int
,
i951
int
,
i952
int
,
i953
int
,
i954
int
,
i955
int
,
i956
int
,
i957
int
,
i958
int
,
i959
int
,
i960
int
,
i961
int
,
i962
int
,
i963
int
,
i964
int
,
i965
int
,
i966
int
,
i967
int
,
i968
int
,
i969
int
,
i970
int
,
i971
int
,
i972
int
,
i973
int
,
i974
int
,
i975
int
,
i976
int
,
i977
int
,
i978
int
,
i979
int
,
i980
int
,
i981
int
,
i982
int
,
i983
int
,
i984
int
,
i985
int
,
i986
int
,
i987
int
,
i988
int
,
i989
int
,
i990
int
,
i991
int
,
i992
int
,
i993
int
,
i994
int
,
i995
int
,
i996
int
,
i997
int
,
i998
int
,
i999
int
,
i1000
int
,
b
blob
)
row_format
=
dynamic
;
insert
into
t1
values
(
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
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1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
"Sergei"
);
update
t1
set
b
=
repeat
(
'a'
,
256
);
update
t1
set
i1
=
0
,
i2
=
0
,
i3
=
0
,
i4
=
0
,
i5
=
0
,
i6
=
0
,
i7
=
0
;
check
table
t1
;
drop
table
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment