[BUG] [odbc] Error allocating or reallocating memory when fetching data. No ODBC error information available. MS Access DB
まだ誰も着手していません。
評価
- 難易度
- 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
odbcPackage Version: 2.4.8- ODBC Driver: Microsoft Access Driver (*.mdb, *.accdb)
- Database Name: COMANDES DIDAC.MDB
- Database Version: The file was created using Microsoft Access 2000 (Version retrieved using a VBS mentioned in this article: https://devblogs.microsoft.com/scripting/how-can-i-determine-which-version-of-access-was-used-to-create-a-database
- Database OS: Windows 11 Home 23H2
- Node.js Version: 20.11.1
- Node.js OS: Windows 11 Home 23H2
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:
- 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=;`);
- Run query
const result = await conn.query('SELECT * FROM Table');
- 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IBM/node-odbc のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
security
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
[Bug] Sybase ASE: Encoding issue (works in msnodesqlv8, fails in node-odbc with \x1A artifacts)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/rocketmq-dashboard#6896 ·
メンテナーはふだん 3 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[workshop-sync] workshop/side-quest-17-06-output-injection.md: stale add_comment.cjs line referencesオープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#4679 ·
メンテナーはふだん 1 日以内に返信
-
bug engine
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
frostney/GocciaScript#1746 ·
メンテナーはふだん 1 日以内に返信
-
Add: AVA Mediaオープンchannels:add check:failed
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100