dolthub / dolthub/dolt

Implement com_stmt_fetch

Open
#1,030 4 comments 0 reactions 0 assignees View on GitHub
enhancement prepared statements sql
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

This is used by some clients (especially the mysql C API) to load result rows after a com_stmt_prepare and com_stmt_execute. It requires storing the result set in server memory. It's currently a blocker for getting sysbench working.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing com_stmt_prepare and com_stmt_execute handling to understand where prepared-statement results are represented and retained. Implement the missing com_stmt_fetch flow with server-side result storage, then verify that clients using the MySQL C API can load rows after prepare and execute, including the sysbench use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, mysql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.