-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' of https://github.com/arangodb/arangodb into fea…
…ture/planning-query-result-cache * 'devel' of https://github.com/arangodb/arangodb: order of free and free2 changed with use of unordered_multimap vs multimap (#3168) jslint (#3167) Cleanup after each testrun (#3109) Feature/planning 499 different error codes for version check (#3118) Remove attribute option for arangoimp (#3141) Bug fix/agency mt fixes (#3158) When the user entered non-matching passwords, we need to go back two steps so he can re-enter the first password too. (#3155) Changed some tasks to post through Scheduler instead of directly. (#3159) Bug fix/scheduling et al (#3161)
- Loading branch information
Showing
106 changed files
with
2,367 additions
and
840 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
|
||
!include "LogicLib.nsh" | ||
!macro printExitCode exitCode Message | ||
Push "${exitCode}" | ||
Push "${Message}" | ||
Call printExitCode | ||
!macroend | ||
Function printExitCode | ||
pop $1 | ||
pop $2 | ||
${Switch} $0 | ||
|
||
|
||
${Case} 0 # EXIT_SUCCESS | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nsuccess' | ||
; No error has occurred. | ||
${Break} | ||
|
||
${Case} 1 # EXIT_FAILED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nexit with error' | ||
; Will be returned when a general error occurred. | ||
${Break} | ||
|
||
${Case} 2 # EXIT_CODE_RESOLVING_FAILED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nexit code resolving failed' | ||
; fill me | ||
${Break} | ||
|
||
${Case} 5 # EXIT_BINARY_NOT_FOUND | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nbinary not found' | ||
; fill me | ||
${Break} | ||
|
||
${Case} 6 # EXIT_CONFIG_NOT_FOUND | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nconfig not found' | ||
; fill me | ||
${Break} | ||
|
||
${Case} 10 # EXIT_UPGRADE_FAILED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nupgrade failed' | ||
; Will be returned when the database upgrade failed | ||
${Break} | ||
|
||
${Case} 11 # EXIT_UPGRADE_REQUIRED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\ndb upgrade required' | ||
; Will be returned when a database upgrade is required | ||
${Break} | ||
|
||
${Case} 12 # EXIT_DOWNGRADE_REQUIRED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\ndb downgrade required' | ||
; Will be returned when a database upgrade is required | ||
${Break} | ||
|
||
${Case} 13 # EXIT_VERSION_CHECK_FAILED | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nversion check failed' | ||
; Will be returned when there is a version mismatch | ||
${Break} | ||
|
||
${Case} 20 # EXIT_ALREADY_RUNNING | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nalready running' | ||
; Will be returned when arangod is already running according to PID-file | ||
${Break} | ||
|
||
${Case} 21 # EXIT_COULD_NOT_BIND_PORT | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\nport blocked' | ||
; Will be returned when endpoint is taken by another process | ||
${Break} | ||
|
||
${Case} 22 # EXIT_COULD_NOT_LOCK | ||
MessageBox MB_ICONEXCLAMATION '$1:$\r$\ncould not lock - another process could be running' | ||
; fill me | ||
${Break} | ||
|
||
${EndSwitch} | ||
FunctionEnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.