Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available. MS Access DB

オープン
#385 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, node.js
領域
database

調査の方向性

まず、Microsoft Access ODBC ドライバーで SELECT * FROM Table クエリを再現し、添付された SQL.LOG トレースを確認します。25,000 行、36 列のテーブルでの失敗を、より小さい結果と比較します。完了条件は、メモリ割り当てエラーや ODBC 診断情報の欠落なしに、クエリがすべての行を返すことです。

索引モデルが issue の本文から書いたものです。

説明

Hi, I know there are 2 issues similar like this, but since they are closed and report other databases than MS Access, I consider this bug needs to be reopened and take in consideration since #306 seems not fixing the issue for MS Access DB.

Describe your system

Describe the bug
When doing a query of kind let result = await conn.query('SELECT * FROM Table'), after a few seconds throws the following exception: Error: [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available.
NOTE: The table holds 25000 rows with 36 columns for each one

Expected behavior
It should return the expected result, with all the data that the table holds.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to database like this:
import odbc from 'odbc';
const dbPath = 'PATH_TO.MDB';
const conn = await odbc.connect(`Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=${dbPath};Uid=;Pwd=;`);
  1. Run query
const result = await conn.query('SELECT * FROM Table');
  1. Wait for errror
  • Any error information returned from a function call:
[Error: [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available.] {
 odbcErrors: []
}

Additional context
This is the tracing LOG with debugging information file generated using ODBC Data Source Administrator
SQL.LOG

主要言語
JavaScript
スター
159
フォーク
92
平均マージ
5時間 59分
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IBM/node-odbc のほかの issue

IBM/node-odbc の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。