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
42a641ff
Commit
42a641ff
authored
Mar 28, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - make printSchemaFile available (compile manually)
parent
9852c6a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp
+15
-0
ndb/src/kernel/blocks/dbdict/printSchemafile/Makefile
ndb/src/kernel/blocks/dbdict/printSchemafile/Makefile
+0
-12
No files found.
ndb/src/kernel/blocks/dbdict/printSchema
file/printSchemaf
ile.cpp
→
ndb/src/kernel/blocks/dbdict/printSchema
F
ile.cpp
View file @
42a641ff
#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
This program is free software; you can redistribute it and/or modify
...
...
@@ -92,6 +100,13 @@ NDB_COMMAND(printSchemafile,
}
print
(
filename
,
(
SchemaFile
*
)
&
buf
[
0
]);
Uint32
chk
=
0
,
i
;
for
(
i
=
0
;
i
<
bytes
/
4
;
i
++
)
chk
^=
buf
[
i
];
if
(
chk
!=
0
)
ndbout
<<
"Invalid checksum!"
<<
endl
;
delete
[]
buf
;
return
0
;
}
ndb/src/kernel/blocks/dbdict/printSchemafile/Makefile
deleted
100644 → 0
View file @
9852c6a0
include
.defs.mk
TYPE
:=
ndbapi
BIN_TARGET
:=
printSchemafile
BIN_TARGET_ARCHIVES
:=
portlib general
CCFLAGS_LOC
+=
-I
..
SOURCES
:=
printSchemafile.cpp
include
$(NDB_TOP)/Epilogue.mk
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