Loading ndb/src/kernel/blocks/dbdict/printSchemafile/printSchemafile.cpp→ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp +15 −0 Original line number Diff line number Diff line #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 Loading Loading @@ -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/Makefiledeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line include .defs.mk TYPE := ndbapi BIN_TARGET := printSchemafile BIN_TARGET_ARCHIVES := portlib general CCFLAGS_LOC += -I.. SOURCES := printSchemafile.cpp include $(NDB_TOP)/Epilogue.mk Loading
ndb/src/kernel/blocks/dbdict/printSchemafile/printSchemafile.cpp→ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp +15 −0 Original line number Diff line number Diff line #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 Loading Loading @@ -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/Makefiledeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line include .defs.mk TYPE := ndbapi BIN_TARGET := printSchemafile BIN_TARGET_ARCHIVES := portlib general CCFLAGS_LOC += -I.. SOURCES := printSchemafile.cpp include $(NDB_TOP)/Epilogue.mk