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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
a03b282f
Commit
a03b282f
authored
Oct 20, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - bug#23499 and bug#23502
Fix some too small buffers in backup
parent
303d7f6b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
ndb/include/kernel/ndb_limits.h
ndb/include/kernel/ndb_limits.h
+2
-0
ndb/src/kernel/blocks/backup/Backup.cpp
ndb/src/kernel/blocks/backup/Backup.cpp
+2
-3
ndb/src/kernel/blocks/backup/Backup.hpp
ndb/src/kernel/blocks/backup/Backup.hpp
+4
-2
No files found.
ndb/include/kernel/ndb_limits.h
View file @
a03b282f
...
...
@@ -62,6 +62,8 @@
#define MAX_KEY_SIZE_IN_WORDS 1023
#define MAX_FRM_DATA_SIZE 6000
#define MAX_WORDS_META_FILE 24576
#define MIN_ATTRBUF ((MAX_ATTRIBUTES_IN_TABLE/24) + 1)
/*
* Max Number of Records to fetch per SCAN_NEXTREQ in a scan in LQH. The
...
...
ndb/src/kernel/blocks/backup/Backup.cpp
View file @
a03b282f
...
...
@@ -2323,9 +2323,8 @@ Backup::execDEFINE_BACKUP_REQ(Signal* signal)
0
// 3M
};
const
Uint32
maxInsert
[]
=
{
2048
,
// Temporarily to solve TR515
//25, // 100 bytes
4096
,
// 4k
MAX_WORDS_META_FILE
,
4096
,
// 16k
16
*
3000
,
// Max 16 tuples
};
Uint32
minWrite
[]
=
{
...
...
ndb/src/kernel/blocks/backup/Backup.hpp
View file @
a03b282f
...
...
@@ -513,7 +513,9 @@ public:
Config
c_defaults
;
Uint32
m_diskless
;
STATIC_CONST
(
NO_OF_PAGES_META_FILE
=
2
);
STATIC_CONST
(
NO_OF_PAGES_META_FILE
=
(
MAX_WORDS_META_FILE
+
BACKUP_WORDS_PER_PAGE
-
1
)
/
BACKUP_WORDS_PER_PAGE
);
/**
* Pools
...
...
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