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
28f84799
Commit
28f84799
authored
Mar 28, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/export/space/pekka/ndb/version/my41
into mysql.com:/export/space/pekka/ndb/version/my50
parents
e1b34744
b8bb41ee
Changes
2
Hide 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 @
28f84799
#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 @
e1b34744
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