GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sqlite: remove unused column name helper · nodejs/node@60cb384

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_sqlite.cc
    • node_sqlite.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_sqlite.cc‎

Copy file name to clipboardExpand all lines: src/node_sqlite.cc
-14Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3158,20 +3158,6 @@ MaybeLocal<Value> StatementExecutionHelper::ColumnToValue(Environment* env,
31583158
return js_val;
31593159
}
31603160

3161-
MaybeLocal<Name> StatementExecutionHelper::ColumnNameToName(Environment* env,
3162-
sqlite3_stmt* stmt,
3163-
const int column) {
3164-
const char* col_name = sqlite3_column_name(stmt, column);
3165-
if (col_name == nullptr) {
3166-
THROW_ERR_INVALID_STATE(env, "Cannot get name of column %d", column);
3167-
return MaybeLocal<Name>();
3168-
}
3169-
3170-
return String::NewFromUtf8(
3171-
env->isolate(), col_name, NewStringType::kInternalized)
3172-
.As<Name>();
3173-
}
3174-
31753161
void StatementSync::MemoryInfo(MemoryTracker* tracker) const {}
31763162

31773163
Maybe<void> ExtractRowValues(Environment* env,
Collapse file

‎src/node_sqlite.h‎

Copy file name to clipboardExpand all lines: src/node_sqlite.h
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ class StatementExecutionHelper {
187187
sqlite3_stmt* stmt,
188188
const int column,
189189
bool use_big_ints);
190-
static v8::MaybeLocal<v8::Name> ColumnNameToName(Environment* env,
191-
sqlite3_stmt* stmt,
192-
const int column);
193190
static v8::MaybeLocal<v8::Value> Get(Environment* env,
194191
StatementSync* statement);
195192
};

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.