Skip to content

Commit

Permalink
Update open_prompt_extension.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 8, 2025
1 parent a265b91 commit 1e6316f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_prompt_extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ namespace duckdb {
{
Value value;
auto &config = ClientConfig::GetConfig(context);
if (config.GetUserVariable(var_name, value) && strlen(value) > 0) {
if (config.GetUserVariable(var_name, value) && strlen(value.ToString()) > 0) {

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_amd64, x86_64, x64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / MacOS (osx_arm64, arm64, arm64-osx)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_mvp, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_threads, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no matching function for call to 'strlen'

Check failure on line 158 in src/open_prompt_extension.cpp

View workflow job for this annotation

GitHub Actions / Build extension binaries / DuckDB-Wasm (wasm_eh, wasm32-emscripten)

no matching function for call to 'strlen'
return value.ToString();
}
}
Expand Down

0 comments on commit 1e6316f

Please sign in to comment.