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
2f7d4bd5
Commit
2f7d4bd5
authored
Sep 26, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/mydev/mysql-4.1
into mysql.com:/home/mydev/mysql-4.1-4100
parents
502b3cc0
31b01d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
ndb/src/kernel/blocks/dbdict/Makefile.am
ndb/src/kernel/blocks/dbdict/Makefile.am
+10
-2
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
+1
-10
No files found.
ndb/src/kernel/blocks/dbdict/Makefile.am
View file @
2f7d4bd5
#SUBDIRS = printSchemafile
noinst_LIBRARIES
=
libdbdict.a
noinst_LIBRARIES
=
libdbdict.a
EXTRA_PROGRAMS
=
printSchemaFile
libdbdict_a_SOURCES
=
Dbdict.cpp
libdbdict_a_SOURCES
=
Dbdict.cpp
printSchemaFile_SOURCES
=
printSchemaFile.cpp
include
$(top_srcdir)/ndb/config/common.mk.am
include
$(top_srcdir)/ndb/config/common.mk.am
include
$(top_srcdir)/ndb/config/type_kernel.mk.am
include
$(top_srcdir)/ndb/config/type_kernel.mk.am
LDADD
+=
\
$(top_builddir)
/ndb/src/common/util/libgeneral.la
\
$(top_builddir)
/ndb/src/common/portlib/libportlib.la
\
$(top_builddir)
/dbug/libdbug.a
\
$(top_builddir)
/mysys/libmysys.a
\
$(top_builddir)
/strings/libmystrings.a
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
...
...
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
View file @
2f7d4bd5
#if 0
make -f Makefile -f - printSchemaFile <<'_eof_'
printSchemaFile: printSchemaFile.cpp
$(CXXCOMPILE) -o $@ $@.cpp -L../../../common/util/.libs -lgeneral
_eof_
exit $?
#endif
/* Copyright (C) 2003 MySQL AB
/* Copyright (C) 2003 MySQL AB
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
...
@@ -58,8 +50,7 @@ print(const char * filename, const SchemaFile * file){
...
@@ -58,8 +50,7 @@ print(const char * filename, const SchemaFile * file){
SchemaFile
::
TableEntry
te
=
file
->
TableEntries
[
i
];
SchemaFile
::
TableEntry
te
=
file
->
TableEntries
[
i
];
if
(
te
.
m_tableState
!=
SchemaFile
::
INIT
){
if
(
te
.
m_tableState
!=
SchemaFile
::
INIT
){
ndbout
<<
"Table "
<<
i
<<
": State = "
<<
te
.
m_tableState
ndbout
<<
"Table "
<<
i
<<
": State = "
<<
te
.
m_tableState
<<
" version = "
<<
table_version_major
(
te
.
m_tableVersion
)
<<
<<
" version = "
<<
te
.
m_tableVersion
<<
"("
<<
table_version_minor
(
te
.
m_tableVersion
)
<<
")"
<<
" type = "
<<
te
.
m_tableType
<<
" type = "
<<
te
.
m_tableType
<<
" noOfPages = "
<<
te
.
m_noOfPages
<<
" noOfPages = "
<<
te
.
m_noOfPages
<<
" gcp: "
<<
te
.
m_gcp
<<
endl
;
<<
" gcp: "
<<
te
.
m_gcp
<<
endl
;
...
...
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