Does SQLite have a machine portable file format that the C API can read / write?

I tried transferring binary SQLite databases over the network between different OS and architectures - it did not work.

What format are you using? I tried the wicked to hack SQLite shell.c and call shell_main () with hacked argc, argv, stdin with success on Mac. It is a pity that I am developing for the iPhone, and it fails only there.

Does everyone do such terrible things?

+3
source share
1 answer

This is one of the main features of SQLite.

Stable cross-platform database file

SQLite -. , , . -endian little-endian, 32-bit 64-bit . . , , SQLite .

SQL , .

http://sqlite.org/different.html

, . , , . .

Beyond Compare .

+5

Source: https://habr.com/ru/post/1730452/


All Articles