.mal and .sql files in Oct2020 lib folder
Hi there,
I'm trying to compile from the Oct2020 branch and I have a question about the /lib64/monetdb5 folder.
This folder used to contain .mal files. It also contained an autoload/ subfolder and a createdb/ subfolder (with .sql files).
I don't see the same in the Oct2020 installation. I see that the content of /sql/scripts/CMakeLists.txt is entirely commented out.
Is the installation of all these files temporarily disabled during development, or is this handled differently now?
Roberto
Roberto
These files are now included in the binary.
Niels
On 24 September 2020 14:45:10 CEST, Roberto Cornacchia roberto.cornacchia@gmail.com wrote:
Hi there,
I'm trying to compile from the Oct2020 branch and I have a question about the /lib64/monetdb5 folder.
This folder used to contain .mal files. It also contained an autoload/ subfolder and a createdb/ subfolder (with .sql files).
I don't see the same in the Oct2020 installation. I see that the content of /sql/scripts/CMakeLists.txt is entirely commented out.
Is the installation of all these files temporarily disabled during development, or is this handled differently now?
Roberto
The MAL files still act as documentation and they will be 1) generated from the kernel and 2) be moved to a new location.
On 24/09/2020 14:56, Niels Nes wrote:
Roberto
These files are now included in the binary.
Niels
On 24 September 2020 14:45:10 CEST, Roberto Cornacchia roberto.cornacchia@gmail.com wrote:
Hi there, I'm trying to compile from the Oct2020 branch and I have a question about the /lib64/monetdb5 folder. This folder used to contain .mal files. It also contained an autoload/ subfolder and a createdb/ subfolder (with .sql files). I don't see the same in the Oct2020 installation. I see that the content of /sql/scripts/CMakeLists.txt is entirely commented out. Is the installation of all these files temporarily disabled during development, or is this handled differently now? Roberto
users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Thanks for your help.
I've been trying to reverse-engineer the CMake files to make new ones for my own modules.
So far I have managed to compile them and also to produce the .sql.c file that is the c-embedded sql script for that module.
I haven't found out yet how to make sure that the sql script is used during database creation (the analogous of placing it into the /createdb folder for Jun2020).
I'll keep digging. Roberto
On Thu, 24 Sep 2020 at 15:50, Martin Kersten martin.kersten@cwi.nl wrote:
The MAL files still act as documentation and they will be 1) generated from the kernel and 2) be moved to a new location.
On 24/09/2020 14:56, Niels Nes wrote:
Roberto
These files are now included in the binary.
Niels
On 24 September 2020 14:45:10 CEST, Roberto Cornacchia <
roberto.cornacchia@gmail.com> wrote:
Hi there, I'm trying to compile from the Oct2020 branch and I have a question
about the /lib64/monetdb5 folder.
This folder used to contain .mal files. It also contained an autoload/ subfolder and a createdb/ subfolder
(with .sql files).
I don't see the same in the Oct2020 installation. I see that the content of /sql/scripts/CMakeLists.txt is entirely
commented out.
Is the installation of all these files temporarily disabled during
development, or is this handled differently now?
Roberto
users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
Hai Roberto,
I don't know the details why it otherwise wouldn't work, but the MAL files are removed from Oct2020 because of the embedded MonetDB/e library.
For the role of MonetDB/e in MonetDB code from Oct2020, please see https://www.monetdb.org/blog/MonetDBe-a-mature-embedded-SQL-DBMS https://www.monetdb.org/blog/MonetDBe-a-mature-embedded-SQL-DBMS
The MAL definitions have been move into (the end of) the corresponding .c files.
Hope the CMake experts here can give some more information ☺️
Regards, Jennie
On 24 Sep 2020, at 14:45, Roberto Cornacchia roberto.cornacchia@gmail.com wrote:
Hi there,
I'm trying to compile from the Oct2020 branch and I have a question about the /lib64/monetdb5 folder.
This folder used to contain .mal files. It also contained an autoload/ subfolder and a createdb/ subfolder (with .sql files).
I don't see the same in the Oct2020 installation. I see that the content of /sql/scripts/CMakeLists.txt is entirely commented out.
Is the installation of all these files temporarily disabled during development, or is this handled differently now?
Roberto _______________________________________________ users-list mailing list users-list@monetdb.org https://www.monetdb.org/mailman/listinfo/users-list
participants (4)
-
Martin Kersten
-
Niels Nes
-
Roberto Cornacchia
-
Ying Zhang