itbhp / embedded-innodb

Embedded InnoDB - resurrected from HailDB, which was forked from Embedded InnoDB :-)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the source of InnoDB 0.1
==================================

The long term plan is to convert it incrementally to Zig. Starting with the tests.

Requirements
===============================================
Zlib >= 1.2.x		Need the development header files and library

Unix
===============================================

Instructions for compiling and installing:
------------------------------------------

1. CC="zig cc" cmake -G Ninja .

   The configure script attempts to select the optimal latching implementation
   for your configuration, if not explicitly set on the configure command line.
   If you need to force a particular selection you can use the following
   command line argument to select:

    --with-atomic-ops=  one of [gcc_builtins|solaris|innodb]

2. ninja

3. #ninja install (not tested yet)

4. Enjoy!

Windows
=======

InnoDB does not currently build on Windows. Although there is no real reason why support could not be continued.

Resources:
https://nivethan.dev/devlog/extending-a-c-project-with-zig.html
https://zig.guide/working-with-c/abi/

About

Embedded InnoDB - resurrected from HailDB, which was forked from Embedded InnoDB :-)

License:GNU General Public License v2.0


Languages

Language:C 98.7%Language:CMake 0.4%Language:Yacc 0.3%Language:SWIG 0.3%Language:Lex 0.2%Language:Shell 0.1%Language:C++ 0.1%