{"id":23290832,"url":"https://github.com/imega/tarantool-mysql-learning","last_synced_at":"2025-06-21T20:03:16.198Z","repository":{"id":145388121,"uuid":"218781295","full_name":"iMega/tarantool-mysql-learning","owner":"iMega","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-30T13:45:15.000Z","size":3379,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T20:02:11.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iMega.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-31T14:10:32.000Z","updated_at":"2019-11-30T13:45:17.000Z","dependencies_parsed_at":"2023-04-14T23:22:41.823Z","dependency_job_id":null,"html_url":"https://github.com/iMega/tarantool-mysql-learning","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/iMega/tarantool-mysql-learning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Ftarantool-mysql-learning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Ftarantool-mysql-learning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Ftarantool-mysql-learning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Ftarantool-mysql-learning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iMega","download_url":"https://codeload.github.com/iMega/tarantool-mysql-learning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iMega%2Ftarantool-mysql-learning/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186369,"owners_count":23121937,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T05:13:00.702Z","updated_at":"2025-06-21T20:03:11.189Z","avatar_url":"https://github.com/iMega.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Build\n\n```\ndocker-compose build app\n```\n\n### Test sigterm\n\n1 terminal\n\n```\ndocker-compose rm -fv app \u0026\u0026 docker-compose up app\n```\n\n2 terminal\n\n```\n while :; do curl -o /dev/null -s -w \"%{http_code}\\n\" app:9000; sleep 0.5; done\n```\n\n3 terminal\n\n```\ndocker-compose stop -t 15 app\n```\n\n## CRASH\n\n```\ntmlapp        | Segmentation fault\ntmlapp        |   code: SEGV_MAPERR\ntmlapp        |   addr: 0\ntmlapp        |   context: 0x7f8cb387f6c0\ntmlapp        |   siginfo: 0x7f8cb387f7f0\ntmlapp        |   rax      0x0                0\ntmlapp        |   rbx      0x5601c2a2c2f8     94565560402680\ntmlapp        |   rcx      0x0                0\ntmlapp        |   rdx      0x3                3\ntmlapp        |   rsi      0x5601c2a07063     94565560250467\ntmlapp        |   rdi      0x0                0\ntmlapp        |   rsp      0x7f8cb387fd78     140242284182904\ntmlapp        |   rbp      0x3                3\ntmlapp        |   r8       0x1                1\ntmlapp        |   r9       0x0                0\ntmlapp        |   r10      0x40dcb718         1088206616\ntmlapp        |   r11      0x9                9\ntmlapp        |   r12      0x3                3\ntmlapp        |   r13      0x5601c2a2a600     94565560395264\ntmlapp        |   r14      0x0                0\ntmlapp        |   r15      0x5601c2a07061     94565560250465\ntmlapp        |   rip      0x7f8d1ba4b0a0     140244030894240\ntmlapp        |   eflags   0x10206            66054\ntmlapp        |   cs       0x33               51\ntmlapp        |   gs       0x0                0\ntmlapp        |   fs       0x0                0\ntmlapp        |   cr2      0x0                0\ntmlapp        |   err      0x6                6\ntmlapp        |   oldmask  0x0                0\ntmlapp        |   trapno   0xe                14\ntmlapp        | Current time: 1574495001\ntmlapp        | Please file a bug at http://github.com/tarantool/tarantool/issues\ntmlapp        | Attempting backtrace... Note: since the server has already crashed,\ntmlapp        | this may fail as well\ntmlapp        | #0  0x5601c1c7d219 in print_backtrace+9\ntmlapp        | #1  0x5601c1b68dda in _ZL12sig_fatal_cbiP9siginfo_tPv+ca\ntmlapp        | #2  0x7f8d1ba40e17 in sigwaitinfo+8\n```\n\nUp project\n\n```\n$ make test\n$ docker exec -it tmlapp console\n```\n\nReproduce case:\n\n```\ntarantool\u003e mysql = require(\"mysql\")\n---\n...\ntarantool\u003e pool = mysql.pool_create({host = 'dbstorage',port = 3360,user = 'root',password = 'qwerty',db = 'tester',size = 5})\n---\n...\ntarantool\u003e conn = pool:get()\n---\n...\ntarantool\u003e conn:execute(\"select `f_longtext` from mytable where pri = ?\", 1)\n---\n- error: null\n...\ntarantool\u003e conn:execute(\"select `f_longblob` from mytable where pri = ?\", 1)\n---\n- error: null\n...\ntarantool\u003e conn:execute(\"select `f_longtext_null` from mytable where pri = ?\", 2)\n---\n- error: null\n...\ntarantool\u003e conn:execute(\"select `f_longblob_null` from mytable where pri = ?\", 2)\n---\n- error: null\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimega%2Ftarantool-mysql-learning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimega%2Ftarantool-mysql-learning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimega%2Ftarantool-mysql-learning/lists"}